[cfe-commits] r156273 - /cfe/trunk/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp

David Blaikie dblaikie at gmail.com
Sun May 6 17:53:51 PDT 2012


Author: dblaikie
Date: Sun May  6 19:53:51 2012
New Revision: 156273

URL: http://llvm.org/viewvc/llvm-project?rev=156273&view=rev
Log:
Remove variable made unused by r156270.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp?rev=156273&r1=156272&r2=156273&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp Sun May  6 19:53:51 2012
@@ -517,9 +517,6 @@
 
 
       } 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)) {





More information about the cfe-commits mailing list