Clean-up: sessiond: error-query: remove unneeded goto
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Apr 2021 19:39:09 +0000 (15:39 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 21 Apr 2021 21:07:07 +0000 (17:07 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ie0d02a5151b359ffb1e9ce487811d8235c4a3d9d

src/bin/lttng-sessiond/trigger-error-query.c

index bc8e7f688b6e4b3071617047ca3e314b6d34a19d..ff8c9ca05b9ef08a7a8fca2581f82f66f3b4ff09 100644 (file)
@@ -83,8 +83,7 @@ enum lttng_trigger_status lttng_trigger_add_action_error_query_results(
                        lttng_trigger_get_action(trigger), results);
        switch (action_status) {
        case LTTNG_ACTION_STATUS_OK:
-               status = LTTNG_TRIGGER_STATUS_OK;
-               goto end;
+               break;
        default:
                status = LTTNG_TRIGGER_STATUS_ERROR;
                goto end;
This page took 0.025161 seconds and 4 git commands to generate.