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
31
|
test05.cpp: In function 'void func1(int, int*, char)':
test05.cpp:12:13: warning: Using parameter 'b' without checking for null pointer
*b = 100;
^
test05.cpp: In function 'void func2(int, int*, char)':
test05.cpp:17:9: warning: Using parameter 'b' without checking for null pointer
*(1 + b) = 200;
^
test05.cpp: In function 'void func3(int, int*, char)':
test05.cpp:22:9: warning: Using parameter 'b' without checking for null pointer
*(1 + (1 + b)) = 300;
^
test05.cpp: In function 'void func5(int, int*, char)':
test05.cpp:28:12: warning: Using parameter 'b' without checking for null pointer
*(var1 + b) = 400;
^
test05.cpp: In function 'void func6(int, int*, char)':
test05.cpp:33:10: warning: Using parameter 'b' without checking for null pointer
int *var2 = b;
^
test05.cpp:33:10: warning: Using parameter 'b' without checking for null pointer
test05.cpp:33:10: warning: Using parameter 'b' without checking for null pointer
test05.cpp:33:10: warning: Using parameter 'b' without checking for null pointer
test05.cpp: In function 'void func7(int, int*, char)':
test05.cpp:39:20: warning: Using parameter 'b' without checking for null pointer
int *var3 = 12 + b;
^
test05.cpp: In function 'void func8(int, int*, char)':
test05.cpp:45:11: warning: Using parameter 'bptr' without checking for null pointer
int **var4 = &bptr;
^
|