From 8b578f9c7626f57f5adb9e4a52f5b0d6c8f6e0a0 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 1 Nov 2018 15:08:57 -0700 Subject: [PATCH] remove trailing spaces in print-utils.c ("int_string" function) gdb/ChangeLog: * print-utils.c (int_string): Remove unnecessary trailing spaces. --- gdb/ChangeLog | 4 ++++ gdb/common/print-utils.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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. */ -- 2.30.2