From: Michal Privoznik Date: Thu, 7 Jan 2021 16:59:55 +0000 (+0100) Subject: vshCommandStringGetArg: Drop @sz X-Git-Tag: v7.1.0-rc1~436 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b9542586cc047075469053606d1e12cb017b5ca;p=thirdparty%2Flibvirt.git vshCommandStringGetArg: Drop @sz This variable is unused since introduction of the function in v0.8.5~150. Signed-off-by: Michal Privoznik Reviewed-by: Ján Tomko --- diff --git a/tools/vsh.c b/tools/vsh.c index badd37c08e..54253afa72 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -1608,7 +1608,6 @@ vshCommandStringGetArg(vshControl *ctl, vshCommandParser *parser, char **res, { bool single_quote = false; bool double_quote = false; - int sz = 0; char *p = parser->pos; char *q = g_strdup(p); @@ -1662,7 +1661,6 @@ vshCommandStringGetArg(vshControl *ctl, vshCommandParser *parser, char **res, } *q++ = *p++; - sz++; } if (double_quote) { if (report)