[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Remove invalid ATTRIBUTE_UNUSED



On Mon, Feb 16, 2009 at 06:42:50PM -0500, Cole Robinson wrote:
> Stumbled on an ATTRIBUTE_UNUSED that is actually used. Patch attached.
> 

> diff --git a/src/qemu_driver.c b/src/qemu_driver.c
> index 09be3fb..20d3c0c 100644
> --- a/src/qemu_driver.c
> +++ b/src/qemu_driver.c
> @@ -2883,7 +2883,7 @@ cleanup:
>  
>  
>  static char *qemudDomainDumpXML(virDomainPtr dom,
> -                                int flags ATTRIBUTE_UNUSED) {
> +                                int flags) {
>      struct qemud_driver *driver = dom->conn->privateData;
>      virDomainObjPtr vm;
>      char *ret = NULL;

ACK

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]