blob: 78a480db39d5197a6e071b9ad87453f50d310d8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
test33.cpp: In member function 'void Object1::func1(Data1*)':
test33.cpp:46:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
test33.cpp:46:24: warning: Using variable 'ptr1' without checking for null pointer
test33.cpp: In member function 'void Object1::func2(Data1*)':
test33.cpp:67:24: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 200;
^
test33.cpp:67:24: warning: Using variable 'ptr1' without checking for null pointer
test33.cpp: In member function 'void Object1::func3(Data1*)':
test33.cpp:82:28: warning: Using variable 'ptr1' without checking for null pointer
ptr1->val = 100;
^
test33.cpp:82:28: warning: Using variable 'ptr1' without checking for null pointer
test33.cpp:91:9: warning: Useless variable check 'this->tmp2'. It already was checked before
if (tmp2)
^
|