summaryrefslogtreecommitdiff
path: root/test/test30-04.txt
blob: e80d94e944ab562d109600123a8634cef00feffb (plain) (blame)
1
2
3
4
5
6
7
8
test30.cpp: In member function 'void Object1::func2(Data1*)':
test30.cpp:69:32: warning: Using field 'ptr1' without checking for null pointer
         if (!ptr1 && ptr1->val == 10)
                                ^
test30.cpp: In member function 'void Object1::func4(Data1*, Data1*)':
test30.cpp:127:14: warning: Useless variable check 'ptr2'. It already was checked before
         if (!ptr2)
              ^