From 9c16be9afa30916420fd406dc0184c6665ee716c Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Mon, 26 Nov 2012 13:26:57 +0000 Subject: [PATCH] gdb/ 2012-11-26 Yao Qi * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove extraneous parentheses. --- gdb/ChangeLog | 5 +++++ gdb/f-valprint.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c5d5fc2fe1..57aee09db7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-11-26 Yao Qi + + * f-valprint.c (f77_create_arrayprint_offset_tbl): Remove + extraneous parentheses. + 2012-11-26 Yao Qi * remote.c (remote_start_remote): Typo fix. diff --git a/gdb/f-valprint.c b/gdb/f-valprint.c index c3d2383317..b40b8fab67 100644 --- a/gdb/f-valprint.c +++ b/gdb/f-valprint.c @@ -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); -- 2.34.1