[libvirt] [PATCH] Fix warning when macvtap support is disabled
Eric Blake
eblake at redhat.com
Wed Dec 1 17:30:28 UTC 2010
On 12/01/2010 04:00 AM, Jean-Baptiste Rouault wrote:
> ---
> src/qemu/qemu_conf.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
> index b0343c6..7cd0603 100644
> --- a/src/qemu/qemu_conf.c
> +++ b/src/qemu/qemu_conf.c
> @@ -1689,6 +1689,7 @@ qemudPhysIfaceConnect(virConnectPtr conn,
> (void)qemuCmdFlags;
> (void)driver;
> (void)vmuuid;
> + (void)vmop;
Hmm; I'm wondering if it would be easier/more concise to use
ATTRIBUTE_UNUSED rather than explicit casts to void. But it doesn't
bother me to leave it as-is.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101201/cd5cf9e9/attachment-0001.sig>
More information about the libvir-list
mailing list