This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] fix whitespace in common/format.c
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 08 Feb 2013 14:53:07 -0800
- Subject: [commit] fix whitespace in common/format.c
Hi.
fyi, I committed this.
2013-02-08 Doug Evans <dje@google.com>
* common/format.c (parse_format_string): Fix whitespace.
Index: common/format.c
===================================================================
RCS file: /cvs/src/src/gdb/common/format.c,v
retrieving revision 1.2
diff -u -p -r1.2 format.c
--- common/format.c 1 Jan 2013 06:32:54 -0000 1.2
+++ common/format.c 8 Feb 2013 22:45:16 -0000
@@ -245,10 +245,10 @@ parse_format_string (char **arg)
this_argclass = long_arg;
else
this_argclass = long_long_arg;
-
- if (seen_big_l)
- bad = 1;
- break;
+
+ if (seen_big_l)
+ bad = 1;
+ break;
case 'c':
this_argclass = lcount == 0 ? int_arg : wide_char_arg;
@@ -286,9 +286,9 @@ parse_format_string (char **arg)
else
this_argclass = double_arg;
- if (lcount || seen_h)
- bad = 1;
- break;
+ if (lcount || seen_h)
+ bad = 1;
+ break;
case '*':
error (_("`*' not supported for precision or width in printf"));