Fix new compiler unhappiness.
This commit is contained in:
parent
5069e2716c
commit
885fbc97c1
@ -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;
|
||||
|
@ -310,6 +310,7 @@ vinumioctl(dev_t dev,
|
||||
|
||||
default:
|
||||
/* FALLTHROUGH */
|
||||
break;
|
||||
}
|
||||
|
||||
case VINUM_DRIVE_TYPE:
|
||||
|
@ -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, */
|
||||
|
@ -1085,6 +1085,7 @@ setstate_by_force(struct vinum_ioctl_msg *msg)
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
ioctl_reply->error = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user