[libvirt] [PATCH 01/14] virsh-domain: Remove spurious ATTRIBUTE_UNUSED from cmdDesc

Eric Blake eblake at redhat.com
Mon Sep 16 20:47:09 UTC 2013


On 09/10/2013 04:15 AM, Peter Krempa wrote:
> The "cmd" variable is actually used so remove the attribute.
> ---
>  tools/virsh-domain.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK.

> 
> diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
> index 74feca1..f6bfad0 100644
> --- a/tools/virsh-domain.c
> +++ b/tools/virsh-domain.c
> @@ -6707,7 +6707,7 @@ static const vshCmdOptDef opts_desc[] = {
>  };
> 
>  static bool
> -cmdDesc(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
> +cmdDesc(vshControl *ctl, const vshCmd *cmd)
>  {
>      virDomainPtr dom;
>      bool config = vshCommandOptBool(cmd, "config");
> 

-- 
Eric Blake   eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130916/8e696715/attachment-0001.sig>


More information about the libvir-list mailing list