summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2011-07-25 18:39:28 +0200
committerJim Meyering <meyering@redhat.com>2011-08-13 11:21:01 +0200
commit036a9c69099f372ca581ce8b5c22e88656a2b478 (patch)
treed807c739860b82943c94dd01d600f188b1d89829 /src
parentfaf5fbeb360a17d3d3407bf58a39706e4ce12642 (diff)
downloadcoreutils-036a9c69099f372ca581ce8b5c22e88656a2b478.tar.xz
maint: remove empty statement after jump label
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/head.c2
-rw-r--r--src/kill.c2
-rw-r--r--src/od.c2
-rw-r--r--src/paste.c2
-rw-r--r--src/printf.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/head.c b/src/head.c
index 1c6e6bce3..174291243 100644
--- a/src/head.c
+++ b/src/head.c
@@ -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);
diff --git a/src/kill.c b/src/kill.c
index b94e68ca4..9f95114ea 100644
--- a/src/kill.c
+++ b/src/kill.c
@@ -292,7 +292,7 @@ main (int argc, char **argv)
default:
usage (EXIT_FAILURE);
}
- no_more_options:;
+ no_more_options:
if (signum < 0)
signum = SIGTERM;
diff --git a/src/od.c b/src/od.c
index 9ddd51971..2f3593e95 100644
--- 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"));
diff --git a/src/paste.c b/src/paste.c
index 217357f3b..17aacd499 100644
--- a/src/paste.c
+++ b/src/paste.c
@@ -145,7 +145,7 @@ collapse_escapes (char const *strptr)
}
}
- done:;
+ done:
delim_end = strout;
return backslash_at_end ? 1 : 0;
diff --git a/src/printf.c b/src/printf.c
index 24070b892..ddb6c461f 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -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 == '*')
{