diff options
-rw-r--r-- | test/test7-04.txt | 4 | ||||
-rw-r--r-- | test/test7-05.txt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/test7-04.txt b/test/test7-04.txt index e5a15db..cf3d33e 100644 --- a/test/test7-04.txt +++ b/test/test7-04.txt @@ -2,3 +2,7 @@ test7.cpp: In member function 'void Object1::func2(int*)': test7.cpp:24:18: warning: Using variable without check for NULL *aptr = 0; ^ +test7.cpp: In member function 'void Object1::func5(Struct1*)': +test7.cpp:40:15: warning: Using variable without check for NULL + sptr->num = 0; + ^ diff --git a/test/test7-05.txt b/test/test7-05.txt index a5faabd..2502176 100644 --- a/test/test7-05.txt +++ b/test/test7-05.txt @@ -3003,6 +3003,10 @@ expr_stmt : sptr, this, convert_expr : sptr, this, modify_expr : sptr, this, component_ref : sptr, this, +test7.cpp: In member function 'void Object1::func5(Struct1*)': +test7.cpp:40:15: warning: Using variable without check for NULL + sptr->num = 0; + ^ indirect_ref : sptr, this, parm_decl sptr: sptr, this, pointer_type : sptr, this, |