Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Initialize values to squelch gcc.
details: https://anonhg.NetBSD.org/src/rev/d978e1477753
branches: trunk
changeset: 780310:d978e1477753
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Jul 19 22:47:52 2012 +0000
description:
Initialize values to squelch gcc.
from Greg Oster
diffstat:
sys/dev/raidframe/rf_disks.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 6b31056c57cc -r d978e1477753 sys/dev/raidframe/rf_disks.c
--- a/sys/dev/raidframe/rf_disks.c Thu Jul 19 22:46:41 2012 +0000
+++ b/sys/dev/raidframe/rf_disks.c Thu Jul 19 22:47:52 2012 +0000
@@ -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 @@
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)
Home |
Main Index |
Thread Index |
Old Index