Module Name: src Committed By: pooka Date: Thu Jul 19 22:47:52 UTC 2012
Modified Files: src/sys/dev/raidframe: rf_disks.c Log Message: Initialize values to squelch gcc. from Greg Oster To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/dev/raidframe/rf_disks.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/raidframe/rf_disks.c diff -u src/sys/dev/raidframe/rf_disks.c:1.82 src/sys/dev/raidframe/rf_disks.c:1.83 --- src/sys/dev/raidframe/rf_disks.c:1.82 Fri Oct 14 09:23:30 2011 +++ src/sys/dev/raidframe/rf_disks.c Thu Jul 19 22:47:52 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: rf_disks.c,v 1.82 2011/10/14 09:23:30 hannken Exp $ */ +/* $NetBSD: rf_disks.c,v 1.83 2012/07/19 22:47:52 pooka Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. * All rights reserved. @@ -60,7 +60,7 @@ ***************************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_disks.c,v 1.82 2011/10/14 09:23:30 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_disks.c,v 1.83 2012/07/19 22:47:52 pooka Exp $"); #include <dev/raidframe/raidframevar.h> @@ -759,6 +759,8 @@ rf_CheckLabels(RF_Raid_t *raidPtr, RF_Co ser_values[0] = ser_values[1] = ser_values[2] = ser_values[3] = 0; ser_count[0] = ser_count[1] = ser_count[2] = ser_count[3] = 0; + mod_values[0] = mod_values[1] = mod_values[2] = mod_values[3] = 0; + mod_count[0] = mod_count[1] = mod_count[2] = mod_count[3] = 0; for (c = 0; c < raidPtr->numCol; c++) { if (raidPtr->Disks[c].status != rf_ds_optimal)