From: Francis Deslauriers Date: Tue, 7 Jan 2020 20:29:26 +0000 (-0500) Subject: Cleanup: track-untrack.c: declare all `int` on the same line X-Git-Tag: v2.12.0-rc1~80 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=72aee8ec709045acec9c7e5f5574fe334cf03ad6;p=lttng-tools.git Cleanup: track-untrack.c: declare all `int` on the same line Signed-off-by: Francis Deslauriers Change-Id: Ic566fe9f33d67f7da750c478c6af0b41ec2a968b Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/commands/track-untrack.c b/src/bin/lttng/commands/track-untrack.c index c54b64078..0d7169729 100644 --- a/src/bin/lttng/commands/track-untrack.c +++ b/src/bin/lttng/commands/track-untrack.c @@ -590,9 +590,8 @@ static int cmd_track_untrack(enum cmd_type cmd_type, const char *cmd_str, int argc, const char **argv, const char *help_msg) { - int opt, ret = 0; + int opt, ret = 0, success = 1; enum cmd_error_code command_ret = CMD_SUCCESS; - int success = 1; static poptContext pc; char *session_name = NULL; struct mi_writer *writer = NULL;