summaryrefslogblamecommitdiff
path: root/test/test33-04.txt
blob: 016554c765bec8b69cafb4370530a8b2a48fe2fb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                            
test33.cpp: In member function 'void Object1::func1(Data1*)':
test33.cpp:46:15: warning: Using parameter 'ptr1' without checking for null pointer
         ptr1->val = 200;
               ^
test33.cpp: In member function 'void Object1::func2(Data1*)':
test33.cpp:67:15: warning: Using parameter 'ptr1' without checking for null pointer
         ptr1->val = 200;
               ^
test33.cpp: In member function 'void Object1::func3(Data1*)':
test33.cpp:82:19: warning: Using parameter 'ptr1' without checking for null pointer
             ptr1->val = 100;
                   ^
test33.cpp:91:9: warning: Useless variable check 'this->tmp2'. It already was checked before
         if (tmp2)
         ^