aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CastToStructChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/CastToStructChecker.cpp')
-rw-r--r--lib/Analysis/CastToStructChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CastToStructChecker.cpp b/lib/Analysis/CastToStructChecker.cpp
index ccd4a3333e..7c6fc7ed3f 100644
--- a/lib/Analysis/CastToStructChecker.cpp
+++ b/lib/Analysis/CastToStructChecker.cpp
@@ -59,7 +59,7 @@ void CastToStructChecker::PreVisitCastExpr(CheckerContext &C,
// Now the cast-to-type is struct pointer, the original type is not void*.
if (!OrigPointeeTy->isRecordType()) {
- if (ExplodedNode *N = C.GenerateNode(CE)) {
+ if (ExplodedNode *N = C.GenerateNode()) {
if (!BT)
BT = new BuiltinBug("Cast from non-struct type to struct type",
"Casting a non-structure type to a structure type "