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@us.ibm.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-08-03 09:34:37 +00:00
1 parent d9837657c1
commit 6052a8fee9
1 file changed
+1 -1
+1 -1
View File
@@ -1040,7 +1040,7 @@ static int mod_l2_entry(l2_pgentry_t *pl2e,
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))) )
{
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.