summaryrefslogtreecommitdiff
path: root/test/test19-04.txt
blob: 7cc52864d333be87fc7f70937c32d1197425984b (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
test19.cpp: In function 'int func2(Data1*, Data1*)':
test19.cpp:16:20: warning: Using variable 'ptr3' without checking for null pointer
     ptr3->val = 100;
                    ^
test19.cpp:16:20: warning: Using variable 'ptr3' without checking for null pointer
test19.cpp: In function 'int func4(Data1*, Data1*)':
test19.cpp:31:15: warning: Useless variable check 'ptr1'. It already was checked before
     else if (!ptr1 && ptr2)
               ^
test19.cpp: In function 'int func6(Data1*, Data1*)':
test19.cpp:52:20: warning: Using variable 'ptr3' without checking for null pointer
     ptr3->val = 100;
                    ^
test19.cpp:52:20: warning: Using variable 'ptr3' without checking for null pointer
test19.cpp: In function 'int func7(Data1*, Data1*)':
test19.cpp:66:20: warning: Using variable 'ptr1' without checking for null pointer
     ptr1->val = 100;
                    ^
test19.cpp:66:20: warning: Using variable 'ptr1' without checking for null pointer
test19.cpp:67:20: warning: Using variable 'ptr3' without checking for null pointer
     ptr3->val = 200;
                    ^
test19.cpp:67:20: warning: Using variable 'ptr3' without checking for null pointer
test19.cpp: In function 'int func8(Data1*, Data1*)':
test19.cpp:81:20: warning: Using variable 'ptr1' without checking for null pointer
     ptr1->val = 100;
                    ^
test19.cpp:81:20: warning: Using variable 'ptr1' without checking for null pointer
test19.cpp:82:20: warning: Using variable 'ptr3' without checking for null pointer
     ptr3->val = 200;
                    ^
test19.cpp:82:20: warning: Using variable 'ptr3' without checking for null pointer