diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2002-05-24 06:01:07 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2002-05-24 06:01:07 +0000 |
| commit | 885fbc97c14fbb5b5bdbbffe2f625b05ed9f0886 (patch) | |
| tree | ae83217f854bf65f44629cb4511361eaa2a94f3b /sys | |
| parent | 5069e2716c082d52d4f861969686eb54685fc7e1 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/vinum/vinumconfig.c | 2 | ||||
| -rw-r--r-- | sys/dev/vinum/vinumioctl.c | 1 | ||||
| -rw-r--r-- | sys/dev/vinum/vinumrevive.c | 1 | ||||
| -rw-r--r-- | sys/dev/vinum/vinumstate.c | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinumconfig.c b/sys/dev/vinum/vinumconfig.c index c3b9fd533f95..d40c6244186a 100644 --- a/sys/dev/vinum/vinumconfig.c +++ b/sys/dev/vinum/vinumconfig.c @@ -1874,7 +1874,7 @@ update_plex_config(int plexno, int diskconfig) int required_sds; /* number of subdisks we need */ struct sd *sd; struct volume *vol; - int data_sds; /* number of sds carrying data */ + int data_sds = 0; /* number of sds carrying data */ if (plex->state < plex_init) /* not a real plex, */ return; diff --git a/sys/dev/vinum/vinumioctl.c b/sys/dev/vinum/vinumioctl.c index 0e5f696ffa16..3eaab40dbc51 100644 --- a/sys/dev/vinum/vinumioctl.c +++ b/sys/dev/vinum/vinumioctl.c @@ -310,6 +310,7 @@ vinumioctl(dev_t dev, default: /* FALLTHROUGH */ + break; } case VINUM_DRIVE_TYPE: diff --git a/sys/dev/vinum/vinumrevive.c b/sys/dev/vinum/vinumrevive.c index 1e368dbed95c..16b878a7a22c 100644 --- a/sys/dev/vinum/vinumrevive.c +++ b/sys/dev/vinum/vinumrevive.c @@ -131,6 +131,7 @@ revive_block(int sdno) break; case plex_disorg: /* to keep the compiler happy */ + break; } if (paritysd) { /* we're reviving a parity block, */ diff --git a/sys/dev/vinum/vinumstate.c b/sys/dev/vinum/vinumstate.c index 2ad2706928cd..e759a6b57ee2 100644 --- a/sys/dev/vinum/vinumstate.c +++ b/sys/dev/vinum/vinumstate.c @@ -1085,6 +1085,7 @@ setstate_by_force(struct vinum_ioctl_msg *msg) break; default: + break; } ioctl_reply->error = 0; } |
