diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/analysis/reports.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis/reports.cpp b/src/analysis/reports.cpp index 0f4b197..be91c3a 100644 --- a/src/analysis/reports.cpp +++ b/src/analysis/reports.cpp @@ -75,7 +75,7 @@ void reportParmDeclNullPointer(Node *mainNode, isIn(node->label, wi.needCheckNullVars)) { Log::warn(findBackLocation(mainNode), - "Using parameter '%s' without checking for null pointer", + "Using variable '%s' without checking for null pointer", node->label); } } @@ -127,7 +127,7 @@ void reportParmDeclLeftNullPointer(Node *mainNode, isNotIn(var.name, wi.knownVars))) { Log::warn(findBackLocation(mainNode), - "Using field '%s' without checking for null pointer", + "Using variable '%s' without checking for null pointer", var.name); } } @@ -152,7 +152,7 @@ void reportComponentRefNullPointer(Node *mainNode, isIn(var.name, wi.needCheckNullVars)) { Log::warn(findBackLocation(mainNode), - "Using field '%s' without checking for null pointer", + "Using variable '%s' without checking for null pointer", var.name); } } |