[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 42 of 45] gcc-4.6 compile fix: xen/arch/x86/mm/p2m.c
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1305824431 -7200 # Node ID 2e6175d0996618f80fd26106257d6cb8b61b046d # Parent 881c89e72ed5955fee3bd90bd200e78a41f124db gcc-4.6 compile fix: xen/arch/x86/mm/p2m.c p2m.c: In function 'p2m_remove_page': p2m.c:324:11: error: variable 'mfn_return' set but not used [-Werror=unused-but-set-variable] Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> diff -r 881c89e72ed5 -r 2e6175d09966 xen/arch/x86/mm/p2m.c --- a/xen/arch/x86/mm/p2m.c Thu May 19 19:00:30 2011 +0200 +++ b/xen/arch/x86/mm/p2m.c Thu May 19 19:00:31 2011 +0200 @@ -321,7 +321,7 @@ p2m_remove_page(struct p2m_domain *p2m, unsigned int page_order) { unsigned long i; - mfn_t mfn_return; + mfn_t mfn_return __attribute__ ((unused)); p2m_type_t t; p2m_access_t a; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |