diff options
Diffstat (limited to 'test/test31-05.txt')
-rw-r--r-- | test/test31-05.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test31-05.txt b/test/test31-05.txt new file mode 100644 index 0000000..0ddca05 --- /dev/null +++ b/test/test31-05.txt @@ -0,0 +1,11 @@ +test31.cpp: In member function 'void Object1::func3(Data1*)': +test31.cpp:100:13: warning: Useless variable check 'this->tmp1'. It already was checked before + if (tmp1) + ^ +test31.cpp: In member function 'void Object1::func7(Data1*)': +test31.cpp:243:18: warning: Useless variable check 'ptr1'. It already was checked before + if (!ptr1) + ^ +test31.cpp:274:13: warning: Useless variable check 'this->tmp1'. It already was checked before + if (tmp1) + ^ |