blob: 32b174e1fec1243258afce751a161d2db53c0135 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
test34.cpp: In member function 'void Object1::func1(Data1*)':
test34.cpp:55:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 200;
^
test34.cpp: In member function 'void Object1::func2(Data1*)':
test34.cpp:85:15: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->val = 200;
^
test34.cpp: In member function 'void Object1::func3(Data1*)':
test34.cpp:97:19: warning: Using parameter 'ptr1' without checking for null pointer
if (ptr1->val == 100)
^
test34.cpp: In member function 'void Object1::func4(Data1*)':
test34.cpp:133:22: warning: Using parameter 'ptr1' without checking for null pointer
while (ptr1->val == 100)
^
test34.cpp:133:22: warning: Using parameter 'ptr1' without checking for null pointer
test34.cpp: In member function 'void Object1::func6(Data1*)':
test34.cpp:220:22: warning: Using parameter 'ptr1' without checking for null pointer
while (ptr1->val == 100)
^
test34.cpp: In member function 'void Object1::func7(Data1*)':
test34.cpp:263:21: warning: Useless variable check 'ptr1'. It already was checked before
while (ptr1 && ptr1->val == 100)
^
|