Fix warning in mm.c with gcc-4.0; breaks build due to -Werror
PATCH 1/1 Fix warning in mm.c with gcc-4.0; breaks build due to -Werror
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 <[email protected]>
- Josh Triplett
xen/arch/x86/mm.c +1 -1
@@ -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-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel