diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-04 15:05:51 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-04 15:05:51 +0000 |
commit | 92d3dda09f72b700e15b7b652a7bb47718989994 (patch) | |
tree | ce183f4fdd4a0a74f2ef150b82909f04c0f7c77e /lib/AST/ExprConstant.cpp | |
parent | a461442ed99883d2760833592f65e1e95a4889bb (diff) |
Remove unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143696 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
-rw-r--r-- | lib/AST/ExprConstant.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/AST/ExprConstant.cpp b/lib/AST/ExprConstant.cpp index afd4e0e2e0..3011b7f25f 100644 --- a/lib/AST/ExprConstant.cpp +++ b/lib/AST/ExprConstant.cpp @@ -1286,8 +1286,6 @@ bool PointerExprEvaluator::VisitCastExpr(const CastExpr* E) { // Now figure out the necessary offset to add to the baseLV to get from // the derived class to the base class. - CharUnits Offset = CharUnits::Zero(); - QualType Ty = E->getSubExpr()->getType(); const CXXRecordDecl *DerivedDecl = Ty->getAs<PointerType>()->getPointeeType()->getAsCXXRecordDecl(); |