[ELF] Delete two unneeded `referenced = true` after D65584

This commit is contained in:
Fangrui Song 2020-02-28 21:26:36 -08:00
parent 5d11e7f81c
commit 718cbd394a
1 changed files with 0 additions and 2 deletions

View File

@ -514,7 +514,6 @@ void Symbol::resolveUndefined(const Undefined &other) {
// reference is weak.
if (other.binding != STB_WEAK || !referenced)
binding = other.binding;
referenced = true;
}
}
@ -687,7 +686,6 @@ void Symbol::resolveShared(const SharedSymbol &other) {
uint8_t bind = binding;
replace(other);
binding = bind;
referenced = true;
}
}