diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-03 08:46:20 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-09-03 08:46:20 +0000 |
commit | fec0959f95454b4241e3060408656e8fbe4ac6c1 (patch) | |
tree | ee96736767a8b33fad00473221b0023cfbf33071 /lib/Sema/SemaExpr.cpp | |
parent | d77ba899b3ed39aa4bdba22aabc4bcd5ca6effdf (diff) |
More unused variable removal.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139080 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
-rw-r--r-- | lib/Sema/SemaExpr.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index 800f8e3061..234af89e16 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -6312,11 +6312,9 @@ QualType Sema::CheckCompareOperands(ExprResult &lex, ExprResult &rex, QualType lType = lex.get()->getType(); QualType rType = rex.get()->getType(); - + Expr *LHSStripped = lex.get()->IgnoreParenImpCasts(); Expr *RHSStripped = rex.get()->IgnoreParenImpCasts(); - QualType LHSStrippedType = LHSStripped->getType(); - QualType RHSStrippedType = RHSStripped->getType(); checkEnumComparison(*this, Loc, lex, rex); |