diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index 2a65379b72da..3f264166e115 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -176,11 +176,11 @@ template struct DynamicReloc { typedef typename ELFT::uint uintX_t; uint32_t Type; - SymbolBody *Sym = nullptr; - OutputSectionBase *OffsetSec = nullptr; - uintX_t OffsetInSec = 0; - bool UseSymVA = false; - uintX_t Addend = 0; + SymbolBody *Sym; + OutputSectionBase *OffsetSec; + uintX_t OffsetInSec; + bool UseSymVA; + uintX_t Addend; DynamicReloc(uint32_t Type, OutputSectionBase *OffsetSec, uintX_t OffsetInSec, bool UseSymVA, SymbolBody *Sym,