Fix warning.

This commit is contained in:
Pawel Jakub Dawidek 2004-08-16 08:21:31 +00:00
parent 84880f87d0
commit 5e6db16cd6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133823

View file

@ -1303,7 +1303,7 @@ g_raid3_register_request(struct bio *pbp)
struct g_consumer *cp; struct g_consumer *cp;
struct bio *cbp; struct bio *cbp;
off_t offset, length; off_t offset, length;
u_int n, ndisks; u_int n, ndisks = 0;
sc = pbp->bio_to->geom->softc; sc = pbp->bio_to->geom->softc;
if ((pbp->bio_cflags & G_RAID3_BIO_CFLAG_REGSYNC) != 0 && if ((pbp->bio_cflags & G_RAID3_BIO_CFLAG_REGSYNC) != 0 &&