From: Keir Fraser Date: Wed, 19 Nov 2008 19:13:22 +0000 (+0000) Subject: x86: Fix build for some versions of gcc. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14043^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ee324ed5c456fcc35d1fa8746fac920f74e04f5a;p=xen.git x86: Fix build for some versions of gcc. Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/time.c b/xen/arch/x86/time.c index f895ece5e7..037811fde8 100644 --- a/xen/arch/x86/time.c +++ b/xen/arch/x86/time.c @@ -595,7 +595,7 @@ static void init_platform_timer(void) &plt_cyclone, &plt_hpet, &plt_pmtimer, &plt_pit }; - struct platform_timesource *pts; + struct platform_timesource *pts = NULL; int i, rc = -1; if ( opt_clocksource[0] != '\0' )