ia64/xen-unstable

changeset 18815:98d48f7680db

x86: Fix build for some versions of gcc.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Nov 19 19:13:22 2008 +0000 (2008-11-19)
parents bddd2d344c54
children 368e072feb29
files xen/arch/x86/time.c
line diff
     1.1 --- a/xen/arch/x86/time.c	Wed Nov 19 16:11:39 2008 +0000
     1.2 +++ b/xen/arch/x86/time.c	Wed Nov 19 19:13:22 2008 +0000
     1.3 @@ -595,7 +595,7 @@ static void init_platform_timer(void)
     1.4          &plt_cyclone, &plt_hpet, &plt_pmtimer, &plt_pit
     1.5      };
     1.6  
     1.7 -    struct platform_timesource *pts;
     1.8 +    struct platform_timesource *pts = NULL;
     1.9      int i, rc = -1;
    1.10  
    1.11      if ( opt_clocksource[0] != '\0' )