aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Checker/IdempotentOperationChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Checker/IdempotentOperationChecker.cpp b/lib/Checker/IdempotentOperationChecker.cpp
index 1118d5e279..646c6aff1f 100644
--- a/lib/Checker/IdempotentOperationChecker.cpp
+++ b/lib/Checker/IdempotentOperationChecker.cpp
@@ -311,7 +311,7 @@ void IdempotentOperationChecker::VisitEndAnalysis(ExplodedGraph &G,
hash.begin(); i != hash.end(); ++i) {
if (i->second != Impossible) {
// Select the error message.
- const char *msg;
+ const char *msg = 0;
switch (i->second) {
case Equal:
msg = "idempotent operation; both operands are always equal in value";