From 37719011a020eafc9a6848025f3e07219c2f5444 Mon Sep 17 00:00:00 2001 From: Jordan Crouse Date: Wed, 9 May 2007 17:17:16 -0600 Subject: Fix warnings discovered by Dan Williams and -Wall --- src/cim/cim_msr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cim/cim_msr.c b/src/cim/cim_msr.c index 9e46a87..4a6b72d 100644 --- a/src/cim/cim_msr.c +++ b/src/cim/cim_msr.c @@ -50,7 +50,7 @@ GEODELINK_NODE msr_dev_lookup[MSR_DEVICE_EMPTY]; int msr_init_table(void) { - Q_WORD msr_value; + Q_WORD msr_value = {0, 0}; unsigned int i, j; int return_value = CIM_STATUS_OK; @@ -157,7 +157,7 @@ msr_create_geodelink_table(GEODELINK_NODE * gliu_nodes) int glcp_count = 0; int usb_count = 0; int mpci_count = 0; - Q_WORD msr_value; + Q_WORD msr_value = {0, 0}; /* ALL THREE GLIUS ARE IN ONE ARRAY */ /* Entries 0-7 contain the port information for GLIU0, entries */ -- cgit v1.2.3