From patchwork Thu Nov 1 22:10:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 30001 Received: (qmail 33786 invoked by alias); 1 Nov 2018 22:10:28 -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 33772 invoked by uid 89); 1 Nov 2018 22:10:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Nov 2018 22:10:26 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 2E76A5601F for ; Thu, 1 Nov 2018 18:10:25 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qrDIuBeaDitc for ; Thu, 1 Nov 2018 18:10:25 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id F31B056017 for ; Thu, 1 Nov 2018 18:10:24 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 4F0D783AF9; Thu, 1 Nov 2018 15:10:23 -0700 (PDT) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [obvious/pushed] remove trailing spaces in print-utils.c ("int_string" function) Date: Thu, 1 Nov 2018 15:10:21 -0700 Message-Id: <20181101221021.26698-1-brobecker@adacore.com> Hello, A trivial formatting nit that I happened to notice while reading this part of the code... gdb/ChangeLog: * print-utils.c (int_string): Remove unnecessary trailing spaces. Tested by rebuilding GDB. Pushed to master. Thanks, diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9f220d99bb9..d7cd56e88d4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-11-01 Joel Brobecker + + * print-utils.c (int_string): Remove unnecessary trailing spaces. + 2018-11-01 Joel Brobecker * rs6000-tdep.c (skip_prologue): Fix potential negative left diff --git a/gdb/common/print-utils.c b/gdb/common/print-utils.c index 7eccec7949b..a0cb6e5b0f1 100644 --- a/gdb/common/print-utils.c +++ b/gdb/common/print-utils.c @@ -250,10 +250,10 @@ hex_string_custom: insufficient space to store result")); /* See print-utils.h. */ char * -int_string (LONGEST val, int radix, int is_signed, int width, +int_string (LONGEST val, int radix, int is_signed, int width, int use_c_format) { - switch (radix) + switch (radix) { case 16: { @@ -287,7 +287,7 @@ int_string (LONGEST val, int radix, int is_signed, int width, internal_error (__FILE__, __LINE__, _("failed internal consistency check")); } -} +} /* See print-utils.h. */