summaryrefslogtreecommitdiffstats
path: root/sbin/vinum
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2003-01-16 23:49:34 +0000
committerjoerg <joerg@FreeBSD.org>2003-01-16 23:49:34 +0000
commit7bf38d6d731eaea1665c159ed8ea193dde563e5a (patch)
treef5ab10cb2d7529137559860289b56661d2ed8f09 /sbin/vinum
parentc00f972df5d07e956d5368158322c8a24947cc1d (diff)
downloadFreeBSD-src-7bf38d6d731eaea1665c159ed8ea193dde563e5a.zip
FreeBSD-src-7bf38d6d731eaea1665c159ed8ea193dde563e5a.tar.gz
While being here, remove a couple of unused "default:" labels in switch
statements, now that gcc loudly complains about them. MFC after: 1 week
Diffstat (limited to 'sbin/vinum')
-rw-r--r--sbin/vinum/commands.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sbin/vinum/commands.c b/sbin/vinum/commands.c
index 602ebdd..e80d40b 100644
--- a/sbin/vinum/commands.c
+++ b/sbin/vinum/commands.c
@@ -650,8 +650,6 @@ vinum_start(int argc, char *argv[], char *arg0[])
else
doit = 1;
break;
-
- default:
}
if (doit) {
@@ -1036,8 +1034,6 @@ vinum_attach(int argc, char *argv[], char *argv0[])
sprintf(oldname, "%s", plex.name);
vinum_rename_2(oldname, newname); /* this may recurse */
break;
-
- default: /* can't get here */
}
}
checkupdates(); /* make sure we're updating */
OpenPOWER on IntegriCloud