From ba0f1012c4d7dfff2de8f1b728c47bc080e81712 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 2 May 2011 00:46:56 +0000 Subject: [PATCH] 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 --- lib/CodeGen/CGExpr.cpp | 2 -- 1 file changed, 2 deletions(-) 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(); -- 2.40.0