[lld] r315386 - Remove an unused default argument.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 16:09:24 PDT 2017


Author: ruiu
Date: Tue Oct 10 16:09:23 2017
New Revision: 315386

URL: http://llvm.org/viewvc/llvm-project?rev=315386&view=rev
Log:
Remove an unused default argument.

Modified:
    lld/trunk/ELF/InputSection.h

Modified: lld/trunk/ELF/InputSection.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputSection.h?rev=315386&r1=315385&r2=315386&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.h (original)
+++ lld/trunk/ELF/InputSection.h Tue Oct 10 16:09:23 2017
@@ -214,7 +214,7 @@ private:
 // have to be as compact as possible, which is why we don't store the size (can
 // be found by looking at the next one) and put the hash in a side table.
 struct SectionPiece {
-  SectionPiece(size_t Off, bool Live = false)
+  SectionPiece(size_t Off, bool Live)
       : InputOff(Off), Live(Live || !Config->GcSections), OutputOff(-1) {}
 
   size_t InputOff : 8 * sizeof(ssize_t) - 1;




More information about the llvm-commits mailing list