From: Jérémie Galarneau Date: Wed, 18 May 2016 18:22:14 +0000 (-0400) Subject: Clean-up verbosity incrementation in set_option X-Git-Tag: v2.9.0-rc1~195 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ca939de8e5178bd731b86d0c4588ca84cc0d16f8;p=lttng-tools.git Clean-up verbosity incrementation in set_option Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 8890b52f4..83eb01673 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin/lttng-sessiond/main.c @@ -4819,7 +4819,7 @@ static int set_option(int opt, const char *arg, const char *optname) if (arg) { opt_verbose_consumer = config_parse_value(arg); } else { - opt_verbose_consumer += 1; + opt_verbose_consumer++; } } else if (string_match(optname, "consumerd32-path")) { if (!arg || *arg == '\0') {