mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-05 05:45:46 +00:00
vshCommandStringGetArg: Drop @sz
This variable is unused since introduction of the function in v0.8.5~150. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
4901314d0d
commit
9b9542586c
@ -1608,7 +1608,6 @@ vshCommandStringGetArg(vshControl *ctl, vshCommandParser *parser, char **res,
|
|||||||
{
|
{
|
||||||
bool single_quote = false;
|
bool single_quote = false;
|
||||||
bool double_quote = false;
|
bool double_quote = false;
|
||||||
int sz = 0;
|
|
||||||
char *p = parser->pos;
|
char *p = parser->pos;
|
||||||
char *q = g_strdup(p);
|
char *q = g_strdup(p);
|
||||||
|
|
||||||
@ -1662,7 +1661,6 @@ vshCommandStringGetArg(vshControl *ctl, vshCommandParser *parser, char **res,
|
|||||||
}
|
}
|
||||||
|
|
||||||
*q++ = *p++;
|
*q++ = *p++;
|
||||||
sz++;
|
|
||||||
}
|
}
|
||||||
if (double_quote) {
|
if (double_quote) {
|
||||||
if (report)
|
if (report)
|
||||||
|
Loading…
Reference in New Issue
Block a user