Fix build error that use uninitialized variable. Signed-off-by:Yang Zhang <yang.z.zhang@intel.com> diff -r 117d82dcd6ba xen/common/event_channel.c --- a/xen/common/event_channel.c Fri Nov 19 18:55:18 2010 +0000 +++ b/xen/common/event_channel.c Mon Nov 22 10:52:10 2010 +0800 @@ -326,7 +326,7 @@ struct domain *d = current->domain; struct vcpu *v = d->vcpu[0]; int port, pirq = bind->pirq; - long rc; + long rc = 0; if ( (pirq < 0) || (pirq >= d->nr_pirqs) ) return -EINVAL; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel