summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2007-05-09 17:17:16 -0600
committerJordan Crouse <jordan.crouse@amd.com>2007-05-09 17:17:16 -0600
commit37719011a020eafc9a6848025f3e07219c2f5444 (patch)
treef28418c86a29821c01c33268b5218175374190c1
parentda653c761c9a275cf2b5ff4e087cb0239421c72d (diff)
Fix warnings discovered by Dan Williams and -Wall
-rw-r--r--src/cim/cim_msr.c4
1 files 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 */