mirror of https://gitee.com/openkylin/libvirt.git
vsh: mark ctl as unused in vshReadline
My commit removed the last use in the version for platforms
without readline.
Fixes: c937c1d23d
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
f31bdc7ced
commit
fbc5a15372
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue