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

Peter Krempa pkrempa at redhat.com
Wed Jun 5 13:43:52 UTC 2013


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");
-- 
1.8.2.1




More information about the libvir-list mailing list