mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 01:50:48 +00:00
Remove two unnecessary casts
I noticed a spot in ada-lang.c where the return value of value_as_address was cast to CORE_ADDR -- a no-op cast. I searched and found another. This patch fixes both.
This commit is contained in:
@@ -10993,7 +10993,7 @@ ada_unop_ind_operation::evaluate (struct type *expect_type,
|
||||
arg1));
|
||||
else
|
||||
return value_at_lazy (builtin_type (exp->gdbarch)->builtin_int,
|
||||
(CORE_ADDR) value_as_address (arg1));
|
||||
value_as_address (arg1));
|
||||
}
|
||||
|
||||
if (ada_is_array_descriptor_type (type))
|
||||
|
||||
Reference in New Issue
Block a user