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

Re: [libvirt] [PATCHv2 01/14] virsh-domain-monitor: Remove ATTRIBUTE_UNUSED from a argument



On Wed, Jun 05, 2013 at 03:43:52PM +0200, Peter Krempa wrote:
> The "cmd" argument in cmdList is now used. Unmark it as unused.
> ---
>  tools/virsh-domain-monitor.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/virsh-domain-monitor.c b/tools/virsh-domain-monitor.c
> index b284154..3ba829c 100644
> --- a/tools/virsh-domain-monitor.c
> +++ b/tools/virsh-domain-monitor.c
> @@ -1689,7 +1689,7 @@ static const vshCmdOptDef opts_list[] = {
>      if (vshCommandOptBool(cmd, NAME))   \
>          flags |= (FLAG)
>  static bool
> -cmdList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
> +cmdList(vshControl *ctl, const vshCmd *cmd)
>  {
>      bool managed = vshCommandOptBool(cmd, "managed-save");
>      bool optTitle = vshCommandOptBool(cmd, "title");

ACK, trivial


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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