diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-07-01 16:58:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-07-01 16:58:14 +0300 |
commit | 7f592b396ad169e4332d52ec37ec367c789a24b7 (patch) | |
tree | 7ddf33e6832b11d8fe8ee651a4c764e898ee52e3 /test | |
parent | 210096648ad773e008683646ac980c698fce67d5 (diff) | |
download | paranucker-7f592b396ad169e4332d52ec37ec367c789a24b7.tar.gz paranucker-7f592b396ad169e4332d52ec37ec367c789a24b7.tar.bz2 paranucker-7f592b396ad169e4332d52ec37ec367c789a24b7.tar.xz paranucker-7f592b396ad169e4332d52ec37ec367c789a24b7.zip |
Update test results.
Diffstat (limited to 'test')
-rw-r--r-- | test/test08-03.txt | 9 | ||||
-rw-r--r-- | test/test08-04.txt | 7 |
2 files changed, 15 insertions, 1 deletions
diff --git a/test/test08-03.txt b/test/test08-03.txt index cb31abf..1c0fa2c 100644 --- a/test/test08-03.txt +++ b/test/test08-03.txt @@ -208,6 +208,10 @@ integer_cst 64: ptr6, integer_cst 0: ptr6, if_stmt : eq_expr : +test08.cpp: In member function 'void Object1::func6(int*)': +test08.cpp:55:18: warning: Useless variable check 'ptr6'. It already was checked before + if (!ptr6) + ^ parm_decl ptr6: pointer_type : integer_type : @@ -222,7 +226,6 @@ cleanup_point_expr : ptr6, expr_stmt : ptr6, convert_expr : ptr6, modify_expr : ptr6, -test08.cpp: In member function 'void Object1::func6(int*)': test08.cpp:59:20: warning: Using parameter 'ptr6' without checking for null pointer *ptr6 = 600; ^ @@ -253,6 +256,10 @@ return_expr : ptr7, statement_list : if_stmt : eq_expr : +test08.cpp: In member function 'void Object1::func7(int*)': +test08.cpp:70:18: warning: Useless variable check 'ptr7'. It already was checked before + if (!ptr7) + ^ parm_decl ptr7: pointer_type : integer_type : diff --git a/test/test08-04.txt b/test/test08-04.txt index 036da6e..2947b81 100644 --- a/test/test08-04.txt +++ b/test/test08-04.txt @@ -7,6 +7,13 @@ test08.cpp:28:20: warning: Using parameter 'ptr3' without checking for null poin *ptr3 = 300; ^ test08.cpp: In member function 'void Object1::func6(int*)': +test08.cpp:55:18: warning: Useless variable check 'ptr6'. It already was checked before + if (!ptr6) + ^ test08.cpp:59:20: warning: Using parameter 'ptr6' without checking for null pointer *ptr6 = 600; ^ +test08.cpp: In member function 'void Object1::func7(int*)': +test08.cpp:70:18: warning: Useless variable check 'ptr7'. It already was checked before + if (!ptr7) + ^ |