aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/ExprEngineC.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-04 15:05:51 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-04 15:05:51 +0000
commit92d3dda09f72b700e15b7b652a7bb47718989994 (patch)
treece183f4fdd4a0a74f2ef150b82909f04c0f7c77e /lib/StaticAnalyzer/Core/ExprEngineC.cpp
parenta461442ed99883d2760833592f65e1e95a4889bb (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/StaticAnalyzer/Core/ExprEngineC.cpp')
-rw-r--r--lib/StaticAnalyzer/Core/ExprEngineC.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Core/ExprEngineC.cpp b/lib/StaticAnalyzer/Core/ExprEngineC.cpp
index 8ba371452d..86570cb5d7 100644
--- a/lib/StaticAnalyzer/Core/ExprEngineC.cpp
+++ b/lib/StaticAnalyzer/Core/ExprEngineC.cpp
@@ -540,11 +540,9 @@ void ExprEngine::VisitUnaryOperator(const UnaryOperator* U,
ExplodedNode *Pred,
ExplodedNodeSet &Dst) {
StmtNodeBuilder Bldr(Pred, Dst, *currentBuilderContext);
- bool IncDec = false;
switch (U->getOpcode()) {
default: {
Bldr.takeNodes(Pred);
- IncDec = true;
ExplodedNodeSet Tmp;
VisitIncrementDecrementOperator(U, Pred, Tmp);
Bldr.addNodes(Tmp);