From: Nick Lewycky Date: Mon, 2 May 2011 00:46:56 +0000 (+0000) Subject: Remove dead variable, flagged by gcc's -Wunused-but-set-variable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba0f1012c4d7dfff2de8f1b728c47bc080e81712;p=clang Remove dead variable, flagged by gcc's -Wunused-but-set-variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130674 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 719403d668..bc2cd35bc5 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -235,8 +235,6 @@ EmitExprForReferenceBinding(CodeGenFunction &CGF, const Expr *E, // We have to load the lvalue. RV = CGF.EmitLoadOfLValue(LV, E->getType()); } else { - QualType ResultTy = E->getType(); - llvm::SmallVector Adjustments; while (true) { E = E->IgnoreParens();