summaryrefslogblamecommitdiff
path: root/test/test22-04.txt
blob: f590775145d5a2c2d9ae995597b0c72120795df9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











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