summaryrefslogtreecommitdiff
path: root/test/test16-04.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/test16-04.txt')
-rw-r--r--test/test16-04.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test16-04.txt b/test/test16-04.txt
index 32366cb..268d81f 100644
--- a/test/test16-04.txt
+++ b/test/test16-04.txt
@@ -2,6 +2,7 @@ test16.c: In function 'func2':
test16.c:26:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 300;
^
+test16.c:26:15: warning: Using field 'ptr1' without checking for null pointer
test16.c: In function 'func3':
test16.c:31:27: warning: Using field 'ptr1' without checking for null pointer
if (ptr1 || ptr1->val == 100)
@@ -9,6 +10,7 @@ test16.c:31:27: warning: Using field 'ptr1' without checking for null pointer
test16.c:36:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 200;
^
+test16.c:36:15: warning: Using field 'ptr1' without checking for null pointer
test16.c: In function 'func4':
test16.c:41:28: warning: Using field 'ptr1' without checking for null pointer
if (!ptr1 && ptr1->val == 100)
@@ -16,10 +18,13 @@ test16.c:41:28: warning: Using field 'ptr1' without checking for null pointer
test16.c:46:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 200;
^
+test16.c:46:15: warning: Using field 'ptr1' without checking for null pointer
test16.c: In function 'func6':
test16.c:67:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 300;
^
+test16.c:67:15: warning: Using field 'ptr1' without checking for null pointer
test16.c:68:15: warning: Using parameter 'ptr2' without checking for null pointer
ptr2->val = 400;
^
+test16.c:68:15: warning: Using field 'ptr2' without checking for null pointer