From 1ae0ec902a7d242c9f6a5cf365190c1592134d53 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 10 Jul 2015 01:11:55 +0300 Subject: Add test 34. Update test 31. Update test results. --- test/test34-05.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/test34-05.txt (limited to 'test/test34-05.txt') diff --git a/test/test34-05.txt b/test/test34-05.txt new file mode 100644 index 0000000..893f9c3 --- /dev/null +++ b/test/test34-05.txt @@ -0,0 +1,16 @@ +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) + ^ -- cgit v1.2.3-70-g09d2