Remove unused "case 0".

This commit is contained in:
Paul Eggert committed 2004-09-21 22:26:42 +00:00
1 parent 718c00df82
commit 81ca57a91d
42 files changed
-116

No files matched your search

-3
View File
@@ -581,9 +581,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case 'b':
number = true;
number_nonblank = true;
-3
View File
@@ -189,9 +189,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'H': /* Traverse command-line symlinks-to-directories. */
bit_flags = FTS_COMFOLLOW | FTS_PHYSICAL;
break;
-2
View File
@@ -365,8 +365,6 @@ main (int argc, char **argv)
switch (c)
{
case 0:
break;
case 'r':
case 'w':
case 'x':
-3
View File
@@ -192,9 +192,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'H': /* Traverse command-line symlinks-to-directories. */
bit_flags = FTS_COMFOLLOW | FTS_PHYSICAL;
break;
-3
View File
@@ -262,9 +262,6 @@ main (int argc, char **argv)
while ((c = getopt_long (argc, argv, "123", long_options, NULL)) != -1)
switch (c)
{
case 0:
break;
case '1':
only_file_1 = false;
break;
-3
View File
@@ -823,9 +823,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case SPARSE_OPTION:
x.sparse_mode = XARGMATCH ("--sparse", optarg,
sparse_type_string, sparse_type);
-3
View File
@@ -1338,9 +1338,6 @@ main (int argc, char **argv)
while ((optc = getopt_long (argc, argv, "f:b:kn:sqz", longopts, NULL)) != -1)
switch (optc)
{
case 0:
break;
case 'f':
prefix = optarg;
break;
-3
View File
@@ -755,9 +755,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'b':
case 'c':
/* Build the byte list. */
-2
View File
@@ -313,8 +313,6 @@ main (int argc, char **argv)
!= -1)
switch (optc)
{
case 0:
break;
case 'd':
datestr = optarg;
break;
-2
View File
@@ -781,8 +781,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0: /* Long option. */
break;
case 'a':
show_all_fs = true;
break;
-2
View File
@@ -154,8 +154,6 @@ main (register int argc, register char **argv)
{
switch (optc)
{
case 0:
break;
case 'i':
ignore_environment = true;
break;
-3
View File
@@ -398,9 +398,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case '?':
usage (EXIT_FAILURE);
case 'i':
-3
View File
@@ -284,9 +284,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'b': /* Count bytes rather than columns. */
count_bytes = true;
break;
-3
View File
@@ -1027,9 +1027,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case PRESUME_INPUT_PIPE_OPTION:
presume_input_pipe = true;
break;
-2
View File
@@ -132,8 +132,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'a':
/* Ignore -a, for compatibility with SVR4. */
break;
-3
View File
@@ -232,9 +232,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'V': /* FIXME: this is deprecated. Remove it in 2001. */
error (0, 0,
_("warning: --version-control (-V) is obsolete; support for\
-3
View File
@@ -768,9 +768,6 @@ main (int argc, char **argv)
switch (optc)
{
case 0:
break;
case 'v':
print_pairables = false;
/* Fall through. */
-3
View File
@@ -431,9 +431,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0: /* Long-named option. */
break;
case 'V': /* FIXME: this is deprecated. Remove it in 2001. */
error (0, 0,
_("warning: --version-control (-V) is obsolete; support for\
-3
View File
@@ -1431,9 +1431,6 @@ decode_switches (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case 'a':
all_files = true;
really_all_files = true;
-2
View File
@@ -102,8 +102,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0: /* Long option. */
break;
case 'p':
create_parents = true;
break;
-2
View File
@@ -97,8 +97,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'm':
specified_mode = optarg;
break;
-2
View File
@@ -108,8 +108,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'm':
specified_mode = optarg;
break;
-3
View File
@@ -384,9 +384,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case 'V': /* FIXME: this is deprecated. Remove it in 2001. */
error (0, 0,
_("warning: --version-control (-V) is obsolete; support for\
-3
View File
@@ -460,9 +460,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case 'h':
if (! build_type_arg (&header_type, &header_regex))
{
-3
View File
@@ -460,9 +460,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'd':
/* Delimiter character(s). */
if (optarg[0] == '\0')
-3
View File
@@ -558,9 +558,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 's':
do_short_format = true;
break;
-3
View File
@@ -888,9 +888,6 @@ main (int argc, char **argv)
switch (c)
{
case 0: /* getopt long option */
break;
case 1: /* Non-option argument. */
if (*optarg == '+')
{
-3
View File
@@ -1985,9 +1985,6 @@ main (int argc, char **argv)
default:
usage (EXIT_FAILURE);
case 0:
break;
case 'C':
fputs (_("\
This program is free software; you can redistribute it and/or modify\n\
-2
View File
@@ -185,8 +185,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0: /* Long option. */
break;
case 'p':
empty_paths = true;
break;
-3
View File
@@ -346,9 +346,6 @@ main (int argc, char **argv)
switch (optc)
{
case 0:
break;
case 'f':
format_str = optarg;
break;
-3
View File
@@ -1603,9 +1603,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case 'f':
flags.force = true;
break;
-3
View File
@@ -236,9 +236,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'r': /* For SysV compatibility. */
sum_func = bsd_sum_file;
break;
-2
View File
@@ -620,8 +620,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'b':
separator_ends_record = false;
break;
-3
View File
@@ -1478,9 +1478,6 @@ parse_options (int argc, char **argv,
{
switch (c)
{
case 0:
break;
case 'F':
forever = true;
follow_mode = Follow_name;
-3
View File
@@ -98,9 +98,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'a':
append = true;
break;
-3
View File
@@ -282,9 +282,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case 'a':
change_times |= CH_ATIME;
break;
-3
View File
@@ -1685,9 +1685,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case 'c':
case 'C':
complement = true;
-3
View File
@@ -100,9 +100,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 's':
silent = true;
break;
-3
View File
@@ -166,9 +166,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case 'a':
toprint = -1;
break;
-3
View File
@@ -492,9 +492,6 @@ main (int argc, char **argv)
{
switch (c)
{
case 0:
break;
case '?':
usage (EXIT_FAILURE);
case 'a':
-3
View File
@@ -615,9 +615,6 @@ main (int argc, char **argv)
while ((optc = getopt_long (argc, argv, "clLmw", longopts, NULL)) != -1)
switch (optc)
{
case 0:
break;
case 'c':
print_bytes = true;
break;
-3
View File
@@ -703,9 +703,6 @@ main (int argc, char **argv)
{
switch (optc)
{
case 0:
break;
case 'a':
need_boottime = true;
need_deadprocs = true;