blob: 1331f00fbdae6683556fba5bd54c6eb87c510abc (
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
|
test13.c: In function 'func1':
test13.c:12:8: warning: Using parameter 'b' without checking for null pointer
*b = 100;
^
test13.c: In function 'func2':
test13.c:17:9: warning: Using parameter 'b' without checking for null pointer
*(1 + b) = 200;
^
test13.c: In function 'func3':
test13.c:22:9: warning: Using parameter 'b' without checking for null pointer
*(1 + (1 + b)) = 300;
^
test13.c: In function 'func5':
test13.c:28:12: warning: Using parameter 'b' without checking for null pointer
*(var1 + b) = 400;
^
test13.c: In function 'func6':
test13.c:34:11: warning: Using variable 'var2' without checking for null pointer
*var2 = 500;
^
test13.c: In function 'func7':
test13.c:39:20: warning: Using parameter 'b' without checking for null pointer
int *var3 = 12 + b;
^
test13.c: In function 'func8':
test13.c:45:18: warning: Using parameter 'bptr' without checking for null pointer
int **var4 = &bptr;
^
|