summaryrefslogtreecommitdiff
path: root/test/test11-04.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/test11-04.txt')
-rw-r--r--test/test11-04.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test11-04.txt b/test/test11-04.txt
index b9c8a09..c710a41 100644
--- a/test/test11-04.txt
+++ b/test/test11-04.txt
@@ -2,6 +2,7 @@ test11.cpp: In member function 'void Object1::func2(Data1*, Data1*)':
test11.cpp:29:24: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 300;
^
+test11.cpp:29:24: warning: Using field 'ptr1' without checking for null pointer
test11.cpp: In member function 'void Object1::func3(Data1*, Data1*)':
test11.cpp:34:31: warning: Using field 'ptr1' without checking for null pointer
if (ptr1 || ptr1->val == 100)
@@ -9,6 +10,7 @@ test11.cpp:34:31: warning: Using field 'ptr1' without checking for null pointer
test11.cpp:39:24: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 200;
^
+test11.cpp:39:24: warning: Using field 'ptr1' without checking for null pointer
test11.cpp: In member function 'void Object1::func4(Data1*, Data1*)':
test11.cpp:44:32: warning: Using field 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 100)
@@ -16,10 +18,13 @@ test11.cpp:44:32: warning: Using field 'ptr1' without checking for null pointer
test11.cpp:49:24: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 200;
^
+test11.cpp:49:24: warning: Using field 'ptr1' without checking for null pointer
test11.cpp: In member function 'void Object1::func6(Data1*, Data1*)':
test11.cpp:70:24: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 300;
^
+test11.cpp:70:24: warning: Using field 'ptr1' without checking for null pointer
test11.cpp:71:24: warning: Using parameter 'ptr2' without checking for null pointer
ptr2->val = 400;
^
+test11.cpp:71:24: warning: Using field 'ptr2' without checking for null pointer