Fix an unused variable warning.

llvm-svn: 367643
This commit is contained in:
Rui Ueyama 2019-08-02 02:51:20 +00:00
parent 74296c99b3
commit 966b9a3b9d
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ void SymbolTable::reportUnresolvable() {
auto *undef = dyn_cast<Undefined>(sym);
if (!undef)
continue;
if (Defined *d = undef->getWeakAlias())
if (undef->getWeakAlias())
continue;
StringRef name = undef->getName();
if (name.startswith("__imp_")) {