From: Rui Ueyama Date: Wed, 15 Feb 2017 00:28:26 +0000 (+0000) Subject: Remove useless local variable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cdb6cd37389297be933d05984885b45fb2b3ee48;p=llvm Remove useless local variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295131 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/WinCOFFObjectWriter.cpp b/lib/MC/WinCOFFObjectWriter.cpp index b5dac823391..fcfb38d96c1 100644 --- a/lib/MC/WinCOFFObjectWriter.cpp +++ b/lib/MC/WinCOFFObjectWriter.cpp @@ -300,9 +300,7 @@ void WinCOFFObjectWriter::defineSection(const MCSectionCOFF &Sec) { coff_symbol->Aux[0].Aux.SectionDefinition.Selection = Sec.getSelection(); coff_section->Header.Characteristics = Sec.getCharacteristics(); - - uint32_t &Characteristics = coff_section->Header.Characteristics; - Characteristics |= getAlignment(Sec); + coff_section->Header.Characteristics |= getAlignment(Sec); // Bind internal COFF section to MC section. coff_section->MCSection = &Sec;