[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] xen/arch/x86/vm-io passing unintialized variable to function
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> --- xen/arch/x86/vmx_io.c.old 2005-07-05 16:44:01.000000000 -0500 +++ xen/arch/x86/vmx_io.c 2005-07-05 16:44:20.000000000 -0500 @@ -621,7 +621,7 @@ static inline int irq_masked(unsigned lo 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-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |