From b2bcd7a94f4d44e5767b0d95881d331a567fa6f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Jun 2015 16:56:19 +0300 Subject: Update test results. --- test/test7-04.txt | 4 ++++ test/test7-05.txt | 4 ++++ 2 files changed, 8 insertions(+) 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, -- cgit v1.2.3-70-g09d2