diff options
Diffstat (limited to 'test/test16-04.txt')
-rw-r--r-- | test/test16-04.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/test16-04.txt b/test/test16-04.txt new file mode 100644 index 0000000..cff3a29 --- /dev/null +++ b/test/test16-04.txt @@ -0,0 +1,28 @@ +test16.c: In function 'func2': +test16.c:22:13: warning: Using parameter 'ptr1' without checking for null pointer + ptr1->val = 200; + ^ +test16.c:26:9: warning: Using parameter 'ptr1' without checking for null pointer + ptr1->val = 300; + ^ +test16.c: In function 'func3': +test16.c:31:21: warning: Using parameter 'ptr1' without checking for null pointer + if (ptr1 || ptr1->val == 100) + ^ +test16.c:36:9: warning: Using parameter 'ptr1' without checking for null pointer + ptr1->val = 200; + ^ +test16.c: In function 'func4': +test16.c:41:22: warning: Using parameter 'ptr1' without checking for null pointer + if (!ptr1 && ptr1->val == 100) + ^ +test16.c:46:9: warning: Using parameter 'ptr1' without checking for null pointer + ptr1->val = 200; + ^ +test16.c: In function 'func6': +test16.c:67:9: warning: Using parameter 'ptr1' without checking for null pointer + ptr1->val = 300; + ^ +test16.c:68:9: warning: Using parameter 'ptr2' without checking for null pointer + ptr2->val = 400; + ^ |