aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-05-07 00:53:51 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-05-07 00:53:51 +0000
commit3127d48cd8572d88d16e2b2d16045bdb3f7a4a98 (patch)
treef9112fef9929a598055996f60b8badc1ec774621 /lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
parent21eb6d4961abf710de3864a537655e9c57903803 (diff)
Remove variable made unused by r156270.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp b/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
index 33d0d96564..34e8aaf071 100644
--- a/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
+++ b/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp
@@ -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)) {