gdb/
authorYao Qi <yao@codesourcery.com>
Mon, 26 Nov 2012 13:26:57 +0000 (13:26 +0000)
committerYao Qi <yao@codesourcery.com>
Mon, 26 Nov 2012 13:26:57 +0000 (13:26 +0000)
2012-11-26  Yao Qi  <yao@codesourcery.com>

* f-valprint.c (f77_create_arrayprint_offset_tbl): Remove
extraneous parentheses.

gdb/ChangeLog
gdb/f-valprint.c

index c5d5fc2fe174783e6c6a733b7c156e59367472af..57aee09db71433d02de93ef37e005bf0f3bdb6e7 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-26  Yao Qi  <yao@codesourcery.com>
+
+       * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove
+       extraneous parentheses.
+
 2012-11-26  Yao Qi  <yao@codesourcery.com>
 
        * remote.c (remote_start_remote): Typo fix.
index c3d23833173f8ed255e565179a3f46f83425753b..b40b8fab6790060e38948c6a6df7abd895f5ab09 100644 (file)
@@ -128,7 +128,7 @@ f77_create_arrayprint_offset_tbl (struct type *type, struct ui_file *stream)
 
   tmp_type = type;
 
-  while ((TYPE_CODE (tmp_type) == TYPE_CODE_ARRAY))
+  while (TYPE_CODE (tmp_type) == TYPE_CODE_ARRAY)
     {
       upper = f77_get_upperbound (tmp_type);
       lower = f77_get_lowerbound (tmp_type);