[libvirt] [PATCH] qemu: Fix the unused parameter which causes the build failure
Eric Blake
eblake at redhat.com
Mon Oct 22 15:48:41 UTC 2012
On 10/22/2012 01:58 AM, Osier Yang wrote:
> ---
> Pushed under build-breaker rule.
>
> ---
> src/qemu/qemu_process.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
> index eef1ddb..969e3ce 100644
> --- a/src/qemu/qemu_process.c
> +++ b/src/qemu/qemu_process.c
> @@ -1999,7 +1999,7 @@ qemuProcessSetLinkStates(virDomainObjPtr vm)
>
> /* Set CPU affinities for vcpus if vcpupin xml provided. */
> static int
> -qemuProcessSetVcpuAffinites(virConnectPtr conn,
> +qemuProcessSetVcpuAffinites(virConnectPtr conn ATTRIBUTE_UNUSED,
> virDomainObjPtr vm)
Question - now that we don't need the 'conn' pointer, is it worth a
bigger cleanup that removes the parameter and adjusts all callers?
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121022/0609215f/attachment-0001.sig>
More information about the libvir-list
mailing list