]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh-domain: Remove spurious ATTRIBUTE_UNUSED from cmdDesc
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 Sep 2013 08:52:08 +0000 (10:52 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Sep 2013 07:42:49 +0000 (09:42 +0200)
The "cmd" variable is actually used so remove the attribute.

tools/virsh-domain.c

index e47877b9a55ef22de410ed72f527999395e6ca11..910c6fb32e464c1715e59796fc2dc878771941da 100644 (file)
@@ -6670,7 +6670,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");