diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-21 22:10:39 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-09-21 22:10:39 +0000 |
commit | ca316df53ceaf37dce92fdb0c2c156534dc0fce3 (patch) | |
tree | 3f5d102f04d5e33079d84012c4689c171e197671 /src | |
parent | 31bf55d54ceb265fb06fc6cfc0dab130907295fc (diff) | |
download | coreutils-ca316df53ceaf37dce92fdb0c2c156534dc0fce3.tar.xz |
Remove unused "case 0".
(long_opts): Standardize on NULL vs 0.
Diffstat (limited to 'src')
-rw-r--r-- | src/rm.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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; |