[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 02 of 45] gcc-4.6 compile fix: tools/libxc/xc_domain_restore.c
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1305824382 -7200 # Node ID 9c492ce99bbe24e1b4bbe43c754f136ac19a372f # Parent f1cb18c064c9588c1f6336cc5eb73b5a5b6e874b gcc-4.6 compile fix: tools/libxc/xc_domain_restore.c xc_domain_restore.c: In function 'xc_domain_restore': xc_domain_restore.c:1090:18: error: variable 'prev_pc' set but not used [-Werror=unused-but-set-variable] Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> diff -r f1cb18c064c9 -r 9c492ce99bbe tools/libxc/xc_domain_restore.c --- a/tools/libxc/xc_domain_restore.c Thu May 19 18:59:41 2011 +0200 +++ b/tools/libxc/xc_domain_restore.c Thu May 19 18:59:42 2011 +0200 @@ -1087,7 +1087,6 @@ int xc_domain_restore(xc_interface *xch, int vcpuextstate = 0; uint32_t vcpuextstate_size = 0; unsigned long mfn, pfn; - unsigned int prev_pc; int nraces = 0; /* The new domain's shared-info frame number. */ @@ -1255,7 +1254,6 @@ int xc_domain_restore(xc_interface *xch, * Now simply read each saved frame into its new machine frame. * We uncanonicalise page tables as we go. */ - prev_pc = 0; n = m = 0; loadpages: _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |