]> xenbits.xensource.com Git - libvirt.git/commitdiff
vsh: mark ctl as unused in vshReadline
authorJán Tomko <jtomko@redhat.com>
Mon, 21 Oct 2019 09:11:04 +0000 (11:11 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 21 Oct 2019 09:11:04 +0000 (11:11 +0200)
My commit removed the last use in the version for platforms
without readline.

Fixes: c937c1d23db00cf0f33091f9d30f7ac33d9d6aa4
Signed-off-by: Ján Tomko <jtomko@redhat.com>
tools/vsh.c

index a10a9625e4fa2d117e60fc43bc39fb759797aef7..07eea4adf9202e6b55668505911411955b0f0a8f 100644 (file)
@@ -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;