# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824386 -7200
# Node ID d30215ff28c8f4c02476a4d41a83e76cb2f1f6fa
# Parent cc966312031cef3c6463c77287087a339594fe18
gcc-4.6 compile fix: tools/xcutils/xc_restore.c
xc_restore.c: In function 'main':
xc_restore.c:22:28: error: variable 'apic' set but not used
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r cc966312031c -r d30215ff28c8 tools/xcutils/xc_restore.c
--- a/tools/xcutils/xc_restore.c Thu May 19 18:59:45 2011 +0200
+++ b/tools/xcutils/xc_restore.c Thu May 19 18:59:46 2011 +0200
@@ -19,7 +19,7 @@ int
main(int argc, char **argv)
{
unsigned int domid, store_evtchn, console_evtchn;
- unsigned int hvm, pae, apic;
+ unsigned int hvm, pae;
xc_interface *xch;
int io_fd, ret;
int superpages;
@@ -39,7 +39,6 @@ main(int argc, char **argv)
console_evtchn = atoi(argv[4]);
hvm = atoi(argv[5]);
pae = atoi(argv[6]);
- apic = atoi(argv[7]);
if ( argc == 9 )
superpages = atoi(argv[8]);
else
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|