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

[Xen-changelog] The attached trivial patch fixes a spurious gcc-4.0 warning in



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 4012e919dac0c1e11303a525dc8018c736023ee0
# Parent  18bb2998937101fb923cf326ae3bacfe123d5da5
The attached trivial patch fixes a spurious gcc-4.0 warning in
xen/arch/x86/mm.c when building the current hg tip.  Due to -Werror,
this breaks builds with gcc-4.0.

Signed-off-by: Josh Triplett <josht@xxxxxxxxxx>

diff -r 18bb29989371 -r 4012e919dac0 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Wed Aug  3 09:33:09 2005
+++ b/xen/arch/x86/mm.c Wed Aug  3 09:34:37 2005
@@ -1040,7 +1040,7 @@
                         unsigned int type)
 {
     l2_pgentry_t ol2e;
-    unsigned long vaddr;
+    unsigned long vaddr = 0;
 
     if ( unlikely(!is_guest_l2_slot(type,pgentry_ptr_to_slot(pl2e))) )
     {

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