projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09bdfb3
)
[ELF] - Remove excessive field initialization. NFC.
author
George Rimar
<grimar@accesssoftek.com>
Fri, 3 Nov 2017 13:19:41 +0000
(13:19 +0000)
committer
George Rimar
<grimar@accesssoftek.com>
Fri, 3 Nov 2017 13:19:41 +0000
(13:19 +0000)
It is already initialized in header file to same value.
llvm-svn: 317320
lld/ELF/InputSection.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/InputSection.cpp
b/lld/ELF/InputSection.cpp
index
2e99e3c
..
9164436
100644
(file)
--- a/
lld/ELF/InputSection.cpp
+++ b/
lld/ELF/InputSection.cpp
@@
-87,7
+87,6
@@
InputSectionBase::InputSectionBase(InputFile *File, uint64_t Flags,
: SectionBase(SectionKind, Name, Flags, Entsize, Alignment, Type, Info,
Link),
File(File), Data(Data), Repl(this) {
- Assigned = false;
NumRelocations = 0;
AreRelocsRela = false;