summaryrefslogtreecommitdiff
path: root/test/test05-03.txt
blob: a4a2589081ff23f0e45b8f87b7a3cd6d67ab5c48 (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
31
32
33
34
35
36
test05.cpp: In function 'void func1(int, int*, char)':
test05.cpp:12:13: warning: Using variable 'b' without checking for null pointer
     *b = 100;
             ^
test05.cpp: In function 'void func2(int, int*, char)':
test05.cpp:17:9: warning: Using variable 'b' without checking for null pointer
     *(1 + b) = 200;
         ^
test05.cpp: In function 'void func3(int, int*, char)':
test05.cpp:22:9: warning: Using variable '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 variable 'b' without checking for null pointer
     *(var1 + b) = 400;
            ^
test05.cpp: In function 'void func6(int, int*, char)':
test05.cpp:34:16: warning: Using variable 'var2' without checking for null pointer
     *var2 = 500;
                ^
test05.cpp: In function 'void func7(int, int*, char)':
test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
     int *var3 = 12 + b;
                    ^
test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
test05.cpp:39:20: warning: Using variable 'b' without checking for null pointer
test05.cpp: In function 'void func8(int, int*, char)':
test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
     int **var4 = &bptr;
           ^
test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer
test05.cpp:45:11: warning: Using variable 'bptr' without checking for null pointer