From fbc5a15372f2347f1d6504e6bb9bdfa92a30782e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Mon, 21 Oct 2019 11:11:04 +0200 Subject: [PATCH] vsh: mark ctl as unused in vshReadline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit My commit removed the last use in the version for platforms without readline. Fixes: c937c1d23db00cf0f33091f9d30f7ac33d9d6aa4 Signed-off-by: Ján Tomko --- 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; -- GitLab