|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 12 of 45] gcc-4.6 compile fix: tools/libxl/libxl_pci.
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1305824394 -7200
# Node ID a096a1358c6c4701d44f1467ccc36cf422ffb6a7
# Parent da1b3aa3abf442694ba388968cc59b582ef3d8c9
gcc-4.6 compile fix: tools/libxl/libxl_pci.c
libxl_pci.c: In function 'libxl__create_pci_backend':
libxl_pci.c:230:9: error: variable 'ret' set but not used
[-Werror=unused-but-set-variable]
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
diff -r da1b3aa3abf4 -r a096a1358c6c tools/libxl/libxl_pci.c
--- a/tools/libxl/libxl_pci.c Thu May 19 18:59:53 2011 +0200
+++ b/tools/libxl/libxl_pci.c Thu May 19 18:59:54 2011 +0200
@@ -269,7 +269,7 @@ out:
flexarray_free(back);
if (front)
flexarray_free(front);
- return 0;
+ return ret;
}
static int libxl__device_pci_add_xenstore(libxl__gc *gc, uint32_t domid,
libxl_device_pci *pcidev, int starting)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH 03 of 45] gcc-4.6 compile fix: tools/xenstore/xenstored_core.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
|
|
|
|
|