Fix -Werror build error.
tools/lld/ELF/Symbols.cpp:215:13: error: unused variable 'S' [-Werror,-Wunused-variable] if (auto *S = dyn_cast<SharedSymbol>(this) llvm-svn: 297063
This commit is contained in:
parent
9e60e51a71
commit
5ac5542544
|
@ -212,7 +212,7 @@ const OutputSection *SymbolBody::getOutputSection() const {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
if (auto *S = dyn_cast<SharedSymbol>(this))
|
||||
if (isa<SharedSymbol>(this))
|
||||
return nullptr;
|
||||
|
||||
if (isa<DefinedCommon>(this)) {
|
||||
|
|
Loading…
Reference in New Issue