Remove unused variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220610 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2014-10-25 04:07:53 +00:00
parent 72478e59c7
commit e272236d69

View File

@ -483,7 +483,7 @@ static GlobalObject *makeInternalReplacement(GlobalObject *GO) {
GlobalObject *Ret; GlobalObject *Ret;
if (auto *F = dyn_cast<Function>(GO)) { if (auto *F = dyn_cast<Function>(GO)) {
if (F->isMaterializable()) { if (F->isMaterializable()) {
if (std::error_code EC = F->materialize()) if (F->materialize())
message(LDPL_FATAL, "LLVM gold plugin has failed to read a function"); message(LDPL_FATAL, "LLVM gold plugin has failed to read a function");
} }