diff options
Diffstat (limited to 'gdb/expop.h')
-rw-r--r-- | gdb/expop.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/expop.h b/gdb/expop.h index 1967d97..2d46a9d 100644 --- a/gdb/expop.h +++ b/gdb/expop.h @@ -1513,11 +1513,8 @@ public: struct expression *exp, enum noside noside) override { - struct type *pointer_to_expect_type = (expect_type != nullptr - ? lookup_pointer_type (expect_type) - : nullptr); value *val - = std::get<0> (m_storage)->evaluate (pointer_to_expect_type, exp, noside); + = std::get<0> (m_storage)->evaluate (nullptr, exp, noside); return eval_op_ind (expect_type, exp, noside, val); } |