[libvirt] [PATCH] vsh: mark ctl as unused in vshReadline

Ján Tomko jtomko at redhat.com
Mon Oct 21 09:25:19 UTC 2019


My commit removed the last use in the version for platforms
without readline.

Fixes: c937c1d23db00cf0f33091f9d30f7ac33d9d6aa4

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
Fixed as a push builder break.

 tools/vsh.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/vsh.c b/tools/vsh.c
index a10a9625e4..07eea4adf9 100644
--- a/tools/vsh.c
+++ b/tools/vsh.c
@@ -3028,7 +3028,8 @@ vshReadlineDeinit(vshControl *ctl G_GNUC_UNUSED)
 }
 
 char *
-vshReadline(vshControl *ctl, const char *prompt)
+vshReadline(vshControl *ctl G_GNUC_UNUSED,
+            const char *prompt)
 {
     char line[1024];
     char *r;
-- 
2.21.0




More information about the libvir-list mailing list