summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2013-09-09 10:52:08 +0200
committerPeter Krempa <pkrempa@redhat.com>2013-09-17 09:42:49 +0200
commit626d4dfc2e7df60e8be0cb224f441bb56d9e3157 (patch)
tree5eb9cf778fc375560bb098dd2b1cd7e9142887eb /tools
parent1b7bfa65e36996fc3a204452d2a844ab9f4b52b3 (diff)
downloadlibvirt-626d4dfc2e7df60e8be0cb224f441bb56d9e3157.tar.gz
virsh-domain: Remove spurious ATTRIBUTE_UNUSED from cmdDesc
The "cmd" variable is actually used so remove the attribute.
Diffstat (limited to 'tools')
-rw-r--r--tools/virsh-domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index e47877b9a5..910c6fb32e 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -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");