commit | 308e54529820c12bff99f8ef9edd68551a42be45 | [log] [tgz] |
---|---|---|
author | George Rimar <grimar@accesssoftek.com> | Mon Jun 03 09:23:01 2019 +0000 |
committer | George Rimar <grimar@accesssoftek.com> | Mon Jun 03 09:23:01 2019 +0000 |
tree | 802f89a2809d3da2a40cd2464c8398e40fd0768d | |
parent | 69815794ae191a7c10623e4200fd11f15c2bd73c [diff] |
[LLD][ELF] - Remove dead code. NFC. I believe this line was dead after r362356. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@362367 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/ELF/LinkerScript.cpp b/ELF/LinkerScript.cpp index 3f68e6e..71c8ff2 100644 --- a/ELF/LinkerScript.cpp +++ b/ELF/LinkerScript.cpp
@@ -481,7 +481,6 @@ if (Sec->Name == "/DISCARD/") { discard(V); Sec->SectionCommands.clear(); - Sec->SectionIndex = 0; // Not an orphan. continue; }