blob: 1668dff7fe5bf7bf8c4e30db544622ec32dba89e (
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
29
30
|
test24.c: In function 'func1':
test24.c:33:5: warning: Using parameter 'ptr1' without checking for null pointer
ptr1();
^
test24.c: In function 'func3':
test24.c:45:9: warning: Using variable 'data' without checking for null pointer
data->fptr1(ptr1);
^
test24.c: In function 'func4':
test24.c:51:9: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->fptr1(ptr2);
^
test24.c: In function 'func5':
test24.c:58:11: warning: Using variable 'data' without checking for null pointer
(*data->fptr2[1])(ptr1);
^
test24.c:58:5: warning: Using parameter 'ptr1' without checking for null pointer
(*data->fptr2[1])(ptr1);
^
test24.c: In function 'func6':
test24.c:64:11: warning: Using parameter 'ptr1' without checking for null pointer
(*ptr1[1])(data);
^
test24.c:64:5: warning: Using variable 'data' without checking for null pointer
(*ptr1[1])(data);
^
test24.c: In function 'func8':
test24.c:87:9: warning: Using parameter 'fptr' without checking for null pointer
fptr[1]("", "");
^
|