ada-lang.c::ada_value_cast: remove unnecessary parentheses

No other code change.

gdb/ChangeLog:

        * ada-lang.c (ada_value_cast): Remove unnecessary parentheses.
This commit is contained in:
Joel Brobecker 2018-09-08 16:50:00 -05:00
parent 16b9eb7bfa
commit 95f39a5b27
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2018-09-08 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (ada_value_cast): Remove unnecessary parentheses.
2018-09-08 Joel Brobecker <brobecker@adacore.com>
* ada-typeprint.c (print_range): Print the bounds using TYPE

View file

@ -10233,7 +10233,7 @@ ada_value_cast (struct type *type, struct value *arg2)
return arg2;
if (ada_is_fixed_point_type (type))
return (cast_to_fixed (type, arg2));
return cast_to_fixed (type, arg2);
if (ada_is_fixed_point_type (value_type (arg2)))
return cast_from_fixed (type, arg2);