=?utf-8?Q?[PATCH]_D53566:_Fix_warning:_extra_=E2=80=98; =E2=80=99_[-Wpedan?= tic]

Dennis Luxen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 06:07:38 PDT 2018


DennisL created this revision.
Herald added subscribers: llvm-commits, arichardson, emaste.
Herald added a reviewer: espindola.

fix a compiler warning


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D53566

Files:
  ELF/Writer.cpp


Index: ELF/Writer.cpp
===================================================================
--- ELF/Writer.cpp
+++ ELF/Writer.cpp
@@ -179,7 +179,7 @@
 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53566.170618.patch
Type: text/x-patch
Size: 481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181023/2b8d1ede/attachment.bin>


More information about the llvm-commits mailing list