From patchwork Fri Jul 1 17:40:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Baldwin X-Patchwork-Id: 13556 Received: (qmail 69765 invoked by alias); 1 Jul 2016 17:46:26 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 69753 invoked by uid 89); 1 Jul 2016 17:46:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=extraneous X-HELO: bigwig.baldwin.cx Received: from bigwig.baldwin.cx (HELO bigwig.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 01 Jul 2016 17:46:24 +0000 Received: from ralph.com (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 3D852B9B8 for ; Fri, 1 Jul 2016 13:41:14 -0400 (EDT) From: John Baldwin To: gdb-patches@sourceware.org Subject: [PATCH v2 4/4] Remove extraneous parentheses. Date: Fri, 1 Jul 2016 10:40:36 -0700 Message-Id: <20160701174036.90598-5-jhb@FreeBSD.org> In-Reply-To: <20160701174036.90598-1-jhb@FreeBSD.org> References: <20160701174036.90598-1-jhb@FreeBSD.org> X-IsSubscribed: yes 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 97db7ef..4ce7dd6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2016-07-01 John Baldwin + * h8300-tdep.c (h8300_print_register): Remove extraneous parentheses. + +2016-07-01 John Baldwin + * ada-lang.c (ada_unpack_from_contents): Use unsigned constants with left shifts. diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index d479a20..951f005 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< ");