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

                                



                                                                                  
                                                            
                                                                                  

                              




                                                                                  
                                                             
                                                                                  

                                   
test22.cpp: In member function 'int Object1::func2(Data1*)':
test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
         Data1* ptr2 = ptr1 + 1;
                            ^
test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp:45:28: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp: In member function 'int Object1::func3(Data1*)':
test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
         Data1** ptr2 = &ptr1;
                 ^
test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp:50:17: warning: Using variable 'ptr1' without checking for null pointer
test22.cpp: In member function 'void Object1::func4(Data1*)':
test22.cpp:56:25: warning: Using variable 'ptr1' without checking for null pointer
         if (ptr1->ftest1() == 100)
                         ^