diff options
author | Joel Brobecker <brobecker@adacore.com> | 2018-09-08 16:50:00 -0500 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2018-09-08 17:50:00 -0400 |
commit | 95f39a5b2755e5aaaceb6248e585f8a593542331 (patch) | |
tree | 2e912620aa722cba60380ff3408842828dbfac83 | |
parent | 16b9eb7bfa56f060d183aa44165bf75cb3c414d8 (diff) | |
download | gdb-95f39a5b2755e5aaaceb6248e585f8a593542331.zip gdb-95f39a5b2755e5aaaceb6248e585f8a593542331.tar.gz gdb-95f39a5b2755e5aaaceb6248e585f8a593542331.tar.bz2 |
ada-lang.c::ada_value_cast: remove unnecessary parentheses
No other code change.
gdb/ChangeLog:
* ada-lang.c (ada_value_cast): Remove unnecessary parentheses.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/ada-lang.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0f73a3e..c3527dc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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 rather than its TYPE_TARGET_TYPE. diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index b370b3c..0a73ca4 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); |