summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-05-02 00:46:56 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-05-02 00:46:56 +0000
commit1c60a0bc98b2e0b18f23e802824bc2d2e48ad68d (patch)
tree20ba41d8e82040908e34452fca437f6429212283 /clang/lib/CodeGen
parentb4175cad294b213b9785ace43a0dab835ac5806e (diff)
downloadbcm5719-llvm-1c60a0bc98b2e0b18f23e802824bc2d2e48ad68d.tar.gz
bcm5719-llvm-1c60a0bc98b2e0b18f23e802824bc2d2e48ad68d.zip
Remove dead variable, flagged by gcc's -Wunused-but-set-variable.
llvm-svn: 130674
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGExpr.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp
index 719403d6682..bc2cd35bc59 100644
--- a/clang/lib/CodeGen/CGExpr.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud