maint: remove empty statement after jump label
authorBernhard Voelker <mail@bernhard-voelker.de>
Mon, 25 Jul 2011 16:39:28 +0000 (18:39 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 13 Aug 2011 09:21:01 +0000 (11:21 +0200)
* src/head.c (elide_tail_bytes_pipe): Remove the empty statement, ";"
after a jump label; it is needed only when a declaration follows.
* src/kill.c (main): Likewise.
* src/od.c (main): Likewise.
* src/paste.c (collapse_escapes): Likewise.
* src/printf.c (print_formatted): Likewise.

src/head.c
src/kill.c
src/od.c
src/paste.c
src/printf.c

index 1c6e6bc..1742912 100644 (file)
@@ -389,7 +389,7 @@ elide_tail_bytes_pipe (const char *filename, int fd, uintmax_t n_elide_0)
             }
         }
 
-    free_mem:;
+    free_mem:
       for (i = 0; i < n_bufs; i++)
         free (b[i]);
       free (b);
index b94e68c..9f95114 100644 (file)
@@ -292,7 +292,7 @@ main (int argc, char **argv)
       default:
         usage (EXIT_FAILURE);
       }
- no_more_options:;
+ no_more_options:
 
   if (signum < 0)
     signum = SIGTERM;
index 9ddd519..2f3593e 100644 (file)
--- a/src/od.c
+++ b/src/od.c
@@ -1905,7 +1905,7 @@ it must be one character from [doxn]"),
 
   ok &= (flag_dump_strings ? dump_strings () : dump ());
 
-cleanup:;
+cleanup:
 
   if (have_read_stdin && fclose (stdin) == EOF)
     error (EXIT_FAILURE, errno, _("standard input"));
index 217357f..17aacd4 100644 (file)
@@ -145,7 +145,7 @@ collapse_escapes (char const *strptr)
         }
     }
 
- done:;
+ done:
 
   delim_end = strout;
   return backslash_at_end ? 1 : 0;
index 24070b8..ddb6c46 100644 (file)
@@ -533,7 +533,7 @@ print_formatted (const char *format, int argc, char **argv)
               default:
                 goto no_more_flag_characters;
               }
-        no_more_flag_characters:;
+        no_more_flag_characters:
 
           if (*f == '*')
             {