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

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



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

Attachment: signature.asc
Description: OpenPGP digital signature


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