Remove unused variable.

llvm-svn: 220610
This commit is contained in:
Rafael Espindola 2014-10-25 04:07:53 +00:00
parent 0706548182
commit 8f2d615252
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ static GlobalObject *makeInternalReplacement(GlobalObject *GO) {
GlobalObject *Ret;
if (auto *F = dyn_cast<Function>(GO)) {
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");
}