* common/format.c (parse_format_string): Fix whitespace.
authorDoug Evans <dje@google.com>
Fri, 8 Feb 2013 22:52:20 +0000 (22:52 +0000)
committerDoug Evans <dje@google.com>
Fri, 8 Feb 2013 22:52:20 +0000 (22:52 +0000)
gdb/ChangeLog
gdb/common/format.c

index b4f88d8..6a0c3e4 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-08  Doug Evans  <dje@google.com>
+
+       * common/format.c (parse_format_string): Fix whitespace.
+
 2013-02-08  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
 
        * stack.c (return_command): Work around uninitialized variable
index a513853..161ff55 100644 (file)
@@ -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"));