From fb36c6bf0a019e7b989e61710f17b5ce4ec27686 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 20 Jun 2016 16:16:31 -0700 Subject: [PATCH] Remove extraneous parentheses. gdb/ChangeLog: * h8300-tdep.c (h8300_print_register): Remove extraneous parentheses. --- gdb/ChangeLog | 4 ++++ gdb/h8300-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5adf9a8f345..6a9ebbddfec 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-07-06 John Baldwin + + * h8300-tdep.c (h8300_print_register): Remove extraneous parentheses. + 2016-07-06 John Baldwin * ada-lang.c (ada_unpack_from_contents): Use unsigned constants with diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index d479a20943a..951f00537bd 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -1051,7 +1051,7 @@ h8300_print_register (struct gdbarch *gdbarch, struct ui_file *file, fprintf_filtered (file, "u> "); if ((C | Z) == 1) fprintf_filtered (file, "u<= "); - if ((C == 0)) + if (C == 0) fprintf_filtered (file, "u>= "); if (C == 1) fprintf_filtered (file, "u< "); -- 2.30.2