From 9a99b7ca6d59b3f9d19c05b5512b5cc3efd6a5a0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Jul 2015 01:22:36 +0300 Subject: Update test 34. Update test results. --- test/test34-05.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/test34-05.txt') diff --git a/test/test34-05.txt b/test/test34-05.txt index 893f9c3..32b174e 100644 --- a/test/test34-05.txt +++ b/test/test34-05.txt @@ -14,3 +14,12 @@ 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) + ^ -- cgit v1.2.3-60-g2f50