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

[Xen-changelog] [xen-unstable] x86: Fix build for some versions of gcc.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1227122002 0
# Node ID 98d48f7680dbed3f788ede174f47b27825f0dd45
# Parent  bddd2d344c5425bfd25564bc20f90c3776552c6e
x86: Fix build for some versions of gcc.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/time.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r bddd2d344c54 -r 98d48f7680db xen/arch/x86/time.c
--- a/xen/arch/x86/time.c       Wed Nov 19 16:11:39 2008 +0000
+++ b/xen/arch/x86/time.c       Wed Nov 19 19:13:22 2008 +0000
@@ -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' )

_______________________________________________
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®.