summaryrefslogtreecommitdiff
path: root/test/test34-05.txt
blob: c552a904dc71eea9acc1f00d79d280f8192facc3 (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
test34.cpp: In member function 'void Object1::func1(Data1*)':
test34.cpp:60:24: warning: Using variable 'ptr1' without checking for null pointer
         ptr1->val = 200;
                        ^
test34.cpp:60:24: warning: Using variable 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func2(Data1*)':
test34.cpp:90:24: warning: Using variable 'ptr1' without checking for null pointer
         ptr1->val = 200;
                        ^
test34.cpp:90:24: warning: Using variable 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func3(Data1*)':
test34.cpp:102:23: warning: Using variable 'ptr1' without checking for null pointer
         if (ptr1->val == 100)
                       ^
test34.cpp: In member function 'void Object1::func4(Data1*)':
test34.cpp:138:26: warning: Using variable 'ptr1' without checking for null pointer
         while (ptr1->val == 100)
                          ^
test34.cpp:138:26: warning: Using variable 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func6(Data1*)':
test34.cpp:225:26: warning: Using variable 'ptr1' without checking for null pointer
         while (ptr1->val == 100)
                          ^
test34.cpp: In member function 'void Object1::func7(Data1*)':
test34.cpp:268:21: warning: Useless variable check 'ptr1'. It already was checked before
         while (ptr1 && ptr1->val == 100)
                     ^