blob: cff3a299330e4079a6a17a3096ff6c8da76c5b4d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
^
|