aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-06-18 10:34:07 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-06-18 10:34:07 +0000
commit19bd77c64937d6818c61f2aa9e6a9d51c65d0356 (patch)
tree67799027250f9ddfbe3ed8a91576ba0e6f575498 /lib/CodeGen/CGObjC.cpp
parentd510fd2dde3cd0fdda9b87772adbfb0d7d26a551 (diff)
Remove dead variables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjC.cpp')
-rw-r--r--lib/CodeGen/CGObjC.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp
index ce9c262fd8..ede2302403 100644
--- a/lib/CodeGen/CGObjC.cpp
+++ b/lib/CodeGen/CGObjC.cpp
@@ -2226,8 +2226,6 @@ static llvm::Value *emitARCRetainAfterCall(CodeGenFunction &CGF,
static TryEmitResult
tryEmitARCRetainScalarExpr(CodeGenFunction &CGF, const Expr *e) {
- QualType originalType = e->getType();
-
// The desired result type, if it differs from the type of the
// ultimate opaque expression.
const llvm::Type *resultType = 0;