|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 14 of 45] gcc-4.6 compile fix: tools/libxl/libxl_util
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824397 -7200
# Node ID 14b06ce705e33d9337f9b45a67d25fcc5bead3dc
# Parent 2a87e67af2c83fe17f3860afd85b9ae7413317cb
gcc-4.6 compile fix: tools/libxl/libxl_utils.c
libxl_utils.c: In function 'libxl_devid_to_device_disk':
libxl_utils.c:535:18: error: variable 'devid_n' set but not used
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r 2a87e67af2c8 -r 14b06ce705e3 tools/libxl/libxl_utils.c
--- a/tools/libxl/libxl_utils.c Thu May 19 18:59:56 2011 +0200
+++ b/tools/libxl/libxl_utils.c Thu May 19 18:59:57 2011 +0200
@@ -532,7 +532,7 @@ int libxl_devid_to_device_disk(libxl_ctx
libxl__gc gc = LIBXL_INIT_GC(ctx);
char *endptr, *val;
char *dompath, *diskpath, *be_path;
- unsigned int devid_n;
+ unsigned int devid_n __attribute__((unused));
int rc = ERROR_INVAL;
devid_n = strtoul(devid, &endptr, 10);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 04 of 45] gcc-4.6 compile fix: tools/misc/gtraceview.c, (continued)
- [Xen-devel] [PATCH 04 of 45] gcc-4.6 compile fix: tools/misc/gtraceview.c, Olaf Hering
- [Xen-devel] [PATCH 05 of 45] gcc-4.6 compile fix: tools/xcutils/xc_restore.c, Olaf Hering
- [Xen-devel] [PATCH 06 of 45] gcc-4.6 compile fix: tools/firmware/rombios/32bit/tcgbios/tcgbios.c, Olaf Hering
- [Xen-devel] [PATCH 07 of 45] gcc-4.6 compile fix: tools/console/client/main.c, Olaf Hering
- [Xen-devel] [PATCH 08 of 45] gcc-4.6 compile fix: tools/xenstat/xentop/xentop.c, Olaf Hering
- [Xen-devel] [PATCH 09 of 45] gcc-4.6 compile fix: tools/libxl/xl_cmdimpl.c, Olaf Hering
- [Xen-devel] [PATCH 10 of 45] gcc-4.6 compile fix: tools/libxl/libxlu_cfg.c, Olaf Hering
- [Xen-devel] [PATCH 11 of 45] gcc-4.6 compile fix: tools/libxl/libxl.c, Olaf Hering
- [Xen-devel] [PATCH 12 of 45] gcc-4.6 compile fix: tools/libxl/libxl_pci.c, Olaf Hering
- [Xen-devel] [PATCH 13 of 45] gcc-4.6 compile fix: tools/libxl/libxl_dom.c, Olaf Hering
- [Xen-devel] [PATCH 14 of 45] gcc-4.6 compile fix: tools/libxl/libxl_utils.c,
Olaf Hering <=
- [Xen-devel] [PATCH 15 of 45] gcc-4.6 compile fix: tools/debugger/gdbsx/gx/gx_comm.c, Olaf Hering
- [Xen-devel] [PATCH 16 of 45] gcc-4.6 compile fix: tools/python/xen/lowlevel/checkpoint/libcheckpoint.c, Olaf Hering
- [Xen-devel] [PATCH 17 of 45] gcc-4.6 compile fix: tools/python/xen/lowlevel/netlink/libnetlink.c, Olaf Hering
- [Xen-devel] [PATCH 18 of 45] gcc-4.6 compile fix: xen/common/cpupool.c, Olaf Hering
- [Xen-devel] [PATCH 19 of 45] gcc-4.6 compile fix: xen/common/grant_table.c, Olaf Hering
- [Xen-devel] [PATCH 20 of 45] gcc-4.6 compile fix: xen/common/kexec.c, Olaf Hering
- [Xen-devel] [PATCH 21 of 45] gcc-4.6 compile fix: xen/common/sched_credit2.c, Olaf Hering
- [Xen-devel] [PATCH 22 of 45] gcc-4.6 compile fix: xen/common/unlzo.c, Olaf Hering
- [Xen-devel] [PATCH 23 of 45] gcc-4.6 compile fix: xen/drivers/passthrough/vtd/intremap.c, Olaf Hering
|
|
|
|
|