[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID ffb406dfb170d3603f4cd348fa55c5c522e11e79
# Parent  ec3b7c87b5776cce5ae3e9b9d030016dd0d722f1

Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4
where an unintialized variable is used in a function.

Signed-off-by: Jerone Young <jerone@xxxxxxxxx>

diff -r ec3b7c87b577 -r ffb406dfb170 xen/arch/x86/vmx_io.c
--- a/xen/arch/x86/vmx_io.c     Tue Jul  5 16:08:03 2005
+++ b/xen/arch/x86/vmx_io.c     Wed Jul  6 08:46:38 2005
@@ -621,7 +621,7 @@
 
 void vmx_intr_assist(struct vcpu *v) 
 {
-    int intr_type;
+    int intr_type = 0;
     int highest_vector = find_highest_pending_irq(v, &intr_type);
     unsigned long intr_fields, eflags, interruptibility, cpu_exec_control;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.