aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2018-09-08 16:50:00 -0500
committerJoel Brobecker <brobecker@adacore.com>2018-09-08 17:50:00 -0400
commit95f39a5b2755e5aaaceb6248e585f8a593542331 (patch)
tree2e912620aa722cba60380ff3408842828dbfac83 /gdb/ada-lang.c
parent16b9eb7bfa56f060d183aa44165bf75cb3c414d8 (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
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);