]> granicus.if.org Git - clang/commitdiff
Remove variable made unused by r156270.
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 7 May 2012 00:53:51 +0000 (00:53 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 7 May 2012 00:53:51 +0000 (00:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156273 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp

index 33d0d9656452a497beb115225d08cbff1b265d72..34e8aaf071be2bbe048592917e3c107a732ab029 100644 (file)
@@ -517,9 +517,6 @@ SVal SimpleSValBuilder::evalBinOpNN(ProgramStateRef state,
 
 
       } else if (isa<SymbolData>(Sym)) {
-        // LHS is a simple symbol (not a symbolic expression).
-        QualType lhsType = Sym->getType(Context);
-
         // Does the symbol simplify to a constant?  If so, "fold" the constant
         // by setting 'lhs' to a ConcreteInt and try again.
         if (const llvm::APSInt *Constant = state->getSymVal(Sym)) {