diff options
Diffstat (limited to 'test/test30-05.txt')
-rw-r--r-- | test/test30-05.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test30-05.txt b/test/test30-05.txt index e06b836..a87c713 100644 --- a/test/test30-05.txt +++ b/test/test30-05.txt @@ -2,3 +2,7 @@ test30.cpp: In member function 'void Object1::func2(Data1*)': test30.cpp:69:28: warning: Using parameter 'ptr1' without checking for null pointer if (!ptr1 && ptr1->val == 10) ^ +test30.cpp: In member function 'void Object1::func4(Data1*, Data1*)': +test30.cpp:127:14: warning: Useless variable check 'ptr2'. It already was checked before + if (!ptr2) + ^ |