summaryrefslogblamecommitdiff
path: root/test/test39-05.txt
blob: 1221acfa18619ca3a955e0276045ff24142ebadb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                    



                                                                      
test39.cpp: In member function 'void Object1::func1(Data1*) const':
test39.cpp:63:15: warning: Using parameter 'ptr1' without checking for null pointer
         ptr1->val = 100;
               ^
test39.cpp:73:15: warning: Using parameter 'ptr1' without checking for null pointer
         ptr1->val = 0;
               ^
test39.cpp: In member function 'void Object1::func2(Data1*) const':
test39.cpp:96:15: warning: Using parameter 'ptr1' without checking for null pointer
         ptr1->ptrval = reinterpret_cast<Data1*>(1);
               ^
test39.cpp: In member function 'void Object1::func3(Data1*) const':
test39.cpp:119:15: warning: Using parameter 'ptr1' without checking for null pointer
         ptr1->ptrval = 0;
               ^
test39.cpp: In member function 'void Object1::func4() const':
test39.cpp:152:16: warning: unused variable 'ptr1' [-Wunused-variable]
         Data1 *ptr1 = &data2;
                ^