]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ada-lang.c::ada_value_cast: remove unnecessary parentheses
authorJoel Brobecker <brobecker@adacore.com>
Sat, 8 Sep 2018 21:50:00 +0000 (16:50 -0500)
committerJoel Brobecker <brobecker@adacore.com>
Sat, 8 Sep 2018 21:50:00 +0000 (17:50 -0400)
No other code change.

gdb/ChangeLog:

        * ada-lang.c (ada_value_cast): Remove unnecessary parentheses.

gdb/ChangeLog
gdb/ada-lang.c

index 0f73a3ef8720b2b3fbcbced8e5e43c8133e59e13..c3527dcfe101fd5c9b802a4fcb9ff2ad9f27bdb4 100644 (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
index b370b3cc4f0cbde14b5257fc10c9607e7cf03d16..0a73ca48a1607fa8132dd90feed5f79931bd9425 100644 (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);