From df329e94cb414dccffd527998f79082dedc943f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= Date: Sat, 19 Oct 2019 00:12:53 +0200 Subject: [PATCH] tools: vshCommandArgvGetArg: one parameter per line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Split the parameters to make changes more readable. Signed-off-by: Ján Tomko Reviewed-by: Daniel Henrique Barboza --- tools/vsh.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/vsh.c b/tools/vsh.c index ee675a63cc..fccd4cd36d 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -1644,7 +1644,9 @@ vshCommandParse(vshControl *ctl, vshCommandParser *parser, vshCmd **partial) */ static vshCommandToken ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(3) -vshCommandArgvGetArg(vshControl *ctl, vshCommandParser *parser, char **res, +vshCommandArgvGetArg(vshControl *ctl, + vshCommandParser *parser, + char **res, bool report G_GNUC_UNUSED) { if (parser->arg_pos == parser->arg_end) { -- GitLab