This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH 05 of 45] gcc-4.6 compile fix: tools/xcutils/xc_resto

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 05 of 45] gcc-4.6 compile fix: tools/xcutils/xc_restore.c
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Thu, 19 May 2011 21:05:24 +0200
Delivery-date: Thu, 19 May 2011 12:11:42 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1305831994; l=1044; s=domk; d=aepfle.de; h=To:From:Date:References:In-Reply-To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:X-RZG-CLASS-ID: X-RZG-AUTH; bh=V0cUNiGGWSRnulsMTbwBsgO3kZE=; b=vu5070qykM/0ZjDvJ49u05QaJ0JRJg058bxvQMGcanR1J9R48PbZrhh/1X8wKP4Cpws XLPS9tBEfJ3YvS2BhDGJowc81S/JLCDBimBvp33mT7ozu5MBxhx09dENTkCdvmINhL2Bp QVwdj5I83Xb6HaXNs9nXeWIWG4fZYpJ1Zd8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1305831919@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1305831919@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# 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 

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]);

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>