diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-04 22:38:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-04 22:38:44 +0300 |
commit | 92447d4e21edce67f88dbaded77fcc5d6f4f639e (patch) | |
tree | 13c5a05456e0adb92e1dabe9bc4a5bfac3413775 /src/analysis/reports.cpp | |
parent | b69cea0e182525f1b89503291ccdfd132fa3cddb (diff) | |
download | paranucker-92447d4e21edce67f88dbaded77fcc5d6f4f639e.tar.gz paranucker-92447d4e21edce67f88dbaded77fcc5d6f4f639e.tar.bz2 paranucker-92447d4e21edce67f88dbaded77fcc5d6f4f639e.tar.xz paranucker-92447d4e21edce67f88dbaded77fcc5d6f4f639e.zip |
In warnings replaces words fields and parameters to variables.
Diffstat (limited to 'src/analysis/reports.cpp')
-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); } } |