Fix new compiler unhappiness.

This commit is contained in:
Peter Wemm 2002-05-24 06:01:07 +00:00
parent 5069e2716c
commit 885fbc97c1
4 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -310,6 +310,7 @@ vinumioctl(dev_t dev,
default:
/* FALLTHROUGH */
break;
}
case VINUM_DRIVE_TYPE:

View File

@ -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, */

View File

@ -1085,6 +1085,7 @@ setstate_by_force(struct vinum_ioctl_msg *msg)
break;
default:
break;
}
ioctl_reply->error = 0;
}