summaryrefslogtreecommitdiff
path: root/test/test08-04.txt
blob: 2947b8178603df72bc5c873bdef34cca46e3e6c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
test08.cpp: In member function 'void Object1::func2(int*)':
test08.cpp:20:20: warning: Using parameter 'ptr2' without checking for null pointer
         *ptr2 = 200;
                    ^
test08.cpp: In member function 'void Object1::func3(int*)':
test08.cpp:28:20: warning: Using parameter 'ptr3' without checking for null pointer
         *ptr3 = 300;
                    ^
test08.cpp: In member function 'void Object1::func6(int*)':
test08.cpp:55:18: warning: Useless variable check 'ptr6'. It already was checked before
             if (!ptr6)
                  ^
test08.cpp:59:20: warning: Using parameter 'ptr6' without checking for null pointer
         *ptr6 = 600;
                    ^
test08.cpp: In member function 'void Object1::func7(int*)':
test08.cpp:70:18: warning: Useless variable check 'ptr7'. It already was checked before
             if (!ptr7)
                  ^