aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-02-08 22:52:20 +0000
committerDoug Evans <dje@google.com>2013-02-08 22:52:20 +0000
commit4ff3ce77394e72b446a08032bc67e2a892eadc5d (patch)
tree793e9b7ef2af2d0a907af49b1a5d12569fed709c /gdb/common
parent83ee86b1063dd09b838eaa02dea506d556f04ebc (diff)
downloadgdb-4ff3ce77394e72b446a08032bc67e2a892eadc5d.zip
gdb-4ff3ce77394e72b446a08032bc67e2a892eadc5d.tar.gz
gdb-4ff3ce77394e72b446a08032bc67e2a892eadc5d.tar.bz2
* common/format.c (parse_format_string): Fix whitespace.
Diffstat (limited to 'gdb/common')
-rw-r--r--gdb/common/format.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/common/format.c b/gdb/common/format.c
index a513853..161ff55 100644
--- a/gdb/common/format.c
+++ b/gdb/common/format.c
@@ -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"));