diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-05-02 00:46:56 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-05-02 00:46:56 +0000 |
commit | ba0f1012c4d7dfff2de8f1b728c47bc080e81712 (patch) | |
tree | 617927272e9a84954710cace1c6060260cab23fc /lib/CodeGen/CGExpr.cpp | |
parent | 28ff4d640493dab5323d035a69730f9951d65ca1 (diff) |
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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r-- | lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 0 insertions, 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<SubobjectAdjustment, 2> Adjustments; while (true) { E = E->IgnoreParens(); |