From 5e6db16cd640adaf279d77773c5e394a25ae606c Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Mon, 16 Aug 2004 08:21:31 +0000 Subject: [PATCH] Fix warning. --- sys/geom/raid3/g_raid3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c index 1b0f3f05d9f7..b4dd4ed80811 100644 --- a/sys/geom/raid3/g_raid3.c +++ b/sys/geom/raid3/g_raid3.c @@ -1303,7 +1303,7 @@ g_raid3_register_request(struct bio *pbp) struct g_consumer *cp; struct bio *cbp; off_t offset, length; - u_int n, ndisks; + u_int n, ndisks = 0; sc = pbp->bio_to->geom->softc; if ((pbp->bio_cflags & G_RAID3_BIO_CFLAG_REGSYNC) != 0 &&