aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Analysis/GRExprEngine.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/Analysis/GRExprEngine.cpp b/Analysis/GRExprEngine.cpp
index 0504e65abe..209a1d5b4f 100644
--- a/Analysis/GRExprEngine.cpp
+++ b/Analysis/GRExprEngine.cpp
@@ -513,10 +513,14 @@ void GRExprEngine::VisitCall(CallExpr* CE, NodeTy* Pred,
switch (n) {
default:
break;
+
case 4:
- if (!memcmp(s, "exit", 4) || !memcmp(s, "panic", 4)) {
- Builder->BuildSinks = true; break;
- }
+ if (!memcmp(s, "exit", 4)) Builder->BuildSinks = true;
+ break;
+
+ case 5:
+ if (!memcmp(s, "panic", 5)) Builder->BuildSinks = true;
+ break;
}
}
}