[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 01/14] virsh-domain: Remove spurious ATTRIBUTE_UNUSED from cmdDesc



The "cmd" variable is actually used so remove the attribute.
---
 tools/virsh-domain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 74feca1..f6bfad0 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -6707,7 +6707,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");
-- 
1.8.3.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]