* 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 b4f88d8fd53c21eb6cc7bab0ff9077b3c94eae06..6a0c3e4f06d682050cf3f691fa0a24ad2c0b63c9 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 a513853837c5e0277e1c5faf28b81dc2aade004a..161ff55bc640ddb4a082301fda8eba3fe38f02e1 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"));