# HG changeset patch
# User Kaitlin Rupert <karupert(a)us.ibm.com>
# Date 1245354578 25200
# Node ID c7ff92e2672e224d6b4016573ab836f74f0701ed
# Parent 3fa64e808da1d96eeb7e58f6f0532a4c00deba4b
Fix compile issue in Virt_RASD
This issue is seen with newer versions of gcc. Particularly, gcc-4.1.2
Signed-off-by: Kaitlin Rupert <karupert(a)us.ibm.com>
diff -r 3fa64e808da1 -r c7ff92e2672e src/Virt_RASD.c
--- a/src/Virt_RASD.c Fri Jun 12 15:11:51 2009 -0700
+++ b/src/Virt_RASD.c Thu Jun 18 12:49:38 2009 -0700
@@ -109,7 +109,7 @@
CMPIStatus s = {CMPI_RC_OK, NULL};
virConnectPtr conn = NULL;
virDomainPtr dom = NULL;
- struct infostore_ctx *info;
+ struct infostore_ctx *info = NULL;
uint32_t weight;
uint64_t limit;
uint64_t count;
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim
--
Richard Maciel, MSc
IBM Linux Technology Center
rmaciel(a)linux.vnet.ibm.com