[ELF] Remove a superfluous semicolon, fixing warnings. NFC.
authorMartin Storsjo <martin@martin.st>
Wed, 24 Oct 2018 07:42:06 +0000 (07:42 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 24 Oct 2018 07:42:06 +0000 (07:42 +0000)
llvm-svn: 345116

lld/ELF/Writer.cpp

index 13aa337..60f5ff9 100644 (file)
@@ -180,7 +180,7 @@ static Defined *addOptionalRegular(StringRef Name, SectionBase *Sec,
 static Defined *addAbsolute(StringRef Name) {
   return cast<Defined>(Symtab->addDefined(Name, STV_HIDDEN, STT_NOTYPE, 0, 0,
                                           STB_GLOBAL, nullptr, nullptr));
-};
+}
 
 // The linker is expected to define some symbols depending on
 // the linking result. This function defines such symbols.