From: Joel Brobecker Date: Sat, 8 Sep 2018 21:50:00 +0000 (-0500) Subject: ada-lang.c::ada_value_cast: remove unnecessary parentheses X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=95f39a5b2755e5aaaceb6248e585f8a593542331;p=binutils-gdb.git ada-lang.c::ada_value_cast: remove unnecessary parentheses No other code change. gdb/ChangeLog: * ada-lang.c (ada_value_cast): Remove unnecessary parentheses. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0f73a3ef872..c3527dcfe10 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-09-08 Joel Brobecker + + * ada-lang.c (ada_value_cast): Remove unnecessary parentheses. + 2018-09-08 Joel Brobecker * ada-typeprint.c (print_range): Print the bounds using TYPE diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index b370b3cc4f0..0a73ca48a16 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -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);