The "S" argument is only used with ? and we don't reach it. Fix it nevertheless.
Signed-off-by: Bandan Das <b...@redhat.com> --- monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.c b/monitor.c index 6777cbe..cbc3cc6 100644 --- a/monitor.c +++ b/monitor.c @@ -4069,7 +4069,7 @@ static QDict *monitor_parse_arguments(Monitor *mon, if (len <= 0) { monitor_printf(mon, "%s: string expected\n", cmd->name); - break; + goto fail; } qdict_put(qdict, key, qstring_from_str(p)); p += len; -- 2.1.0