Clean-up verbosity incrementation in set_option
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 18 May 2016 18:22:14 +0000 (14:22 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 18 May 2016 18:22:14 +0000 (14:22 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/main.c

index 8890b52f4a1666666f987633a67a4097aec953c3..83eb01673336fb8af82333677fcdd22998276314 100644 (file)
@@ -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') {
This page took 0.037186 seconds and 4 git commands to generate.