summaryrefslogblamecommitdiff
path: root/test/test30-05.txt
blob: 9db3804d4d318d56fe58cbe03ffc72d8b93e5dbb (plain) (tree)
1
2
3
4
5
6
7
8
                                                             
                                                                                  
                                      
                                 



                                                                                        
test30.cpp: In member function 'void Object1::func2(Data1*)':
test30.cpp:69:32: warning: Using variable '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)
              ^