[obvious/pushed] remove trailing spaces in print-utils.c ("int_string" function)

Message ID 20181101221021.26698-1-brobecker@adacore.com
State New, archived
Headers

Commit Message

Joel Brobecker Nov. 1, 2018, 10:10 p.m. UTC
  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,
  

Patch

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  <brobecker@adacore.com>
+
+	* print-utils.c (int_string): Remove unnecessary trailing spaces.
+
 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
 
 	* 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.  */