Skip to content

Commit

Permalink
Allow zstd variable to be unused (on Android).
Browse files Browse the repository at this point in the history
  • Loading branch information
khuey committed May 25, 2024
1 parent d0f6d50 commit 8962365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElfReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ SectionOffsets ElfReaderImpl<Arch>::find_section_file_offsets(
template <typename Arch>
const vector<uint8_t>* ElfReaderImpl<Arch>::decompress_section(SectionOffsets offsets) {
bool zlib = false;
bool zstd = false;
__attribute__((unused)) bool zstd = false;
DEBUG_ASSERT(offsets.compressed);
auto hdr = r.read<typename Arch::ElfChdr>(offsets.start);
if (!hdr) {
Expand Down

0 comments on commit 8962365

Please sign in to comment.