[lld] r315158 - Remove redundant initialization code.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 7 17:45:34 PDT 2017


Author: ruiu
Date: Sat Oct  7 17:45:34 2017
New Revision: 315158

URL: http://llvm.org/viewvc/llvm-project?rev=315158&view=rev
Log:
Remove redundant initialization code.

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=315158&r1=315157&r2=315158&view=diff
==============================================================================
--- lld/trunk/ELF/InputSection.h (original)
+++ lld/trunk/ELF/InputSection.h Sat Oct  7 17:45:34 2017
@@ -106,8 +106,6 @@ public:
                     /*Type*/ 0,
                     /*Info*/ 0, /*Link*/ 0),
         Repl(this) {
-    Live = false;
-    Assigned = false;
     NumRelocations = 0;
     AreRelocsRela = false;
   }




More information about the llvm-commits mailing list