mirror of https://gitee.com/openkylin/libvirt.git
virsh-domain: Remove spurious ATTRIBUTE_UNUSED from cmdDesc
The "cmd" variable is actually used so remove the attribute.
This commit is contained in:
parent
1b7bfa65e3
commit
626d4dfc2e
|
@ -6670,7 +6670,7 @@ static const vshCmdOptDef opts_desc[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
cmdDesc(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
|
cmdDesc(vshControl *ctl, const vshCmd *cmd)
|
||||||
{
|
{
|
||||||
virDomainPtr dom;
|
virDomainPtr dom;
|
||||||
bool config = vshCommandOptBool(cmd, "config");
|
bool config = vshCommandOptBool(cmd, "config");
|
||||||
|
|
Loading…
Reference in New Issue