]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh-domain-monitor: Remove ATTRIBUTE_UNUSED from a argument
authorPeter Krempa <pkrempa@redhat.com>
Mon, 27 May 2013 10:08:00 +0000 (12:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 7 Jun 2013 13:57:03 +0000 (15:57 +0200)
The "cmd" argument in cmdList is now used. Unmark it as unused.

tools/virsh-domain-monitor.c

index b2841548b3291db4bef3db16761ce17f158d36f7..3ba829cc860f422a9d2f09101a3bee034476aae4 100644 (file)
@@ -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");