From 87a31d8618c0d47a646677118f3f85352c4a528f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Jul 2015 15:11:17 +0300 Subject: Update test 26. --- test/test26-05.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'test/test26-05.txt') diff --git a/test/test26-05.txt b/test/test26-05.txt index f0226d8..39a0b1d 100644 --- a/test/test26-05.txt +++ b/test/test26-05.txt @@ -6,3 +6,29 @@ test26.cpp: In member function 'void Object1::func2(Data1*)': test26.cpp:57:18: warning: Useless variable check 'ptr1'. It already was checked before if (!ptr1 && k == 1) ^ +test26.cpp: In member function 'void Object1::func8(Data1*)': +test26.cpp:144:18: warning: Useless variable check 'ptr1'. It already was checked before + if (!ptr1 || k == 1) + ^ +test26.cpp:148:18: warning: Useless variable check 'ptr1'. It already was checked before + if (!ptr1 && k == 1) + ^ +test26.cpp:157:22: warning: Useless variable check 'ptr1'. It already was checked before + if (ptr1 || k == 5) + ^ +test26.cpp:161:22: warning: Useless variable check 'ptr1'. It already was checked before + if (ptr1 && k == 5) + ^ +test26.cpp: In member function 'void Object1::func9(Data1*)': +test26.cpp:170:22: warning: Useless variable check 'ptr1'. It already was checked before + if (ptr1 || k == 1) + ^ +test26.cpp:174:22: warning: Useless variable check 'ptr1'. It already was checked before + if (ptr1 && k == 1) + ^ +test26.cpp:183:18: warning: Useless variable check 'ptr1'. It already was checked before + if (!ptr1 || k == 5) + ^ +test26.cpp:187:18: warning: Useless variable check 'ptr1'. It already was checked before + if (!ptr1 && k == 5) + ^ -- cgit v1.2.3-70-g09d2