summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test39-03.txt5
-rw-r--r--test/test39-04.txt5
-rw-r--r--test/test39-05.txt2
3 files changed, 0 insertions, 12 deletions
diff --git a/test/test39-03.txt b/test/test39-03.txt
index c7316f6..2719777 100644
--- a/test/test39-03.txt
+++ b/test/test39-03.txt
@@ -1810,10 +1810,6 @@ decl_expr : data1,
var_decl ptr1: data1, ptr1,
integer_cst 64: data1, ptr1,
addr_expr : data1, ptr1,
-test39.cpp: In member function 'void Object1::func5() const':
-test39.cpp:195:16: warning: Using variable 'data1' without checking for null pointer
- Data1 *ptr1 = reinterpret_cast<Data1*>(&data1); // probable here must no warning about &data1
- ^
var_decl data1: data1, ptr1,
integer_cst 64: data1, ptr1,
pointer_type : data1, ptr1,
@@ -1980,7 +1976,6 @@ type_decl Data1: data1, ptr1,
var_decl ptr1: data1, ptr1,
integer_cst 64: data1, ptr1,
addr_expr : data1, ptr1,
-test39.cpp:195:16: warning: Using variable 'data1' without checking for null pointer
var_decl data1: data1, ptr1,
integer_cst 64: data1, ptr1,
pointer_type : data1, ptr1,
diff --git a/test/test39-04.txt b/test/test39-04.txt
index 8031b1c..4a8583a 100644
--- a/test/test39-04.txt
+++ b/test/test39-04.txt
@@ -13,8 +13,3 @@ test39.cpp: In member function 'void Object1::func3(Data1*) const':
test39.cpp:119:25: warning: Using parameter 'ptr1' without checking for null pointer
ptr1->ptrval = 0;
^
-test39.cpp: In member function 'void Object1::func5() const':
-test39.cpp:195:16: warning: Using variable 'data1' without checking for null pointer
- Data1 *ptr1 = reinterpret_cast<Data1*>(&data1); // probable here must no warning about &data1
- ^
-test39.cpp:195:16: warning: Using variable 'data1' without checking for null pointer
diff --git a/test/test39-05.txt b/test/test39-05.txt
index 9175290..3b62ed3 100644
--- a/test/test39-05.txt
+++ b/test/test39-05.txt
@@ -24,5 +24,3 @@ test39.cpp:175:15: warning: unused variable 'data2' [-Wunused-variable]
test39.cpp:195:16: warning: unused variable 'ptr1' [-Wunused-variable]
Data1 *ptr1 = reinterpret_cast<Data1*>(&data1); // probable here must no warning about &data1
^
-test39.cpp:195:16: warning: Using variable 'data1' without checking for null pointer
-test39.cpp:195:16: warning: Using variable 'data1' without checking for null pointer