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

Peter Krempa pkrempa at redhat.com
Tue Sep 10 10:15:37 UTC 2013


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




More information about the libvir-list mailing list