mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Remove unused "case 0".
(long_opts): Standardize on NULL vs 0.
This commit is contained in:
1 parent
31bf55d54c
commit
ca316df53c
1 file changed
+2
-5
@@ -79,8 +79,8 @@ static struct option const long_opts[] =
|
||||
{"force", no_argument, NULL, 'f'},
|
||||
{"interactive", no_argument, NULL, 'i'},
|
||||
|
||||
{"no-preserve-root", no_argument, 0, NO_PRESERVE_ROOT},
|
||||
{"preserve-root", no_argument, 0, PRESERVE_ROOT},
|
||||
{"no-preserve-root", no_argument, NULL, NO_PRESERVE_ROOT},
|
||||
{"preserve-root", no_argument, NULL, PRESERVE_ROOT},
|
||||
|
||||
/* This is solely for testing. Do not document. */
|
||||
/* It is relatively difficult to ensure that there is a tty on stdin.
|
||||
@@ -179,9 +179,6 @@ main (int argc, char **argv)
|
||||
{
|
||||
switch (c)
|
||||
{
|
||||
case 0: /* Long option. */
|
||||
break;
|
||||
|
||||
case 'd':
|
||||
x.unlink_dirs = true;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user