forked from OSchip/llvm-project
Fix -Wunused-local-typedef warning in some build configurations
This commit is contained in:
parent
885a87033c
commit
eda9fdc493
|
@ -325,6 +325,7 @@ static SmallVector<uint8_t, 0> deflateShard(ArrayRef<uint8_t> in, int level,
|
|||
// Compress section contents if this section contains debug info.
|
||||
template <class ELFT> void OutputSection::maybeCompress() {
|
||||
using Elf_Chdr = typename ELFT::Chdr;
|
||||
(void)sizeof(Elf_Chdr);
|
||||
|
||||
// Compress only DWARF debug sections.
|
||||
if (config->compressDebugSections == DebugCompressionType::None ||
|
||||
|
|
Loading…
Reference in New Issue