lib: remove `BT_GRAPH_RUN_STATUS_END`
[babeltrace.git] / src / cli / babeltrace2.c
index 150b08fc12f69c079e65f5677a08fb267ec7c0bc..e721ea3b739e1bce2c0733935d5bc0f8605d96ba 100644 (file)
@@ -2536,7 +2536,7 @@ int cmd_run(struct bt_config *cfg)
 
                switch (run_status) {
                case BT_GRAPH_RUN_STATUS_OK:
-                       break;
+                       goto end;
                case BT_GRAPH_RUN_STATUS_AGAIN:
                        if (bt_interrupter_is_set(the_interrupter)) {
                                BT_CLI_LOGW_APPEND_CAUSE(
@@ -2558,8 +2558,6 @@ int cmd_run(struct bt_config *cfg)
                                }
                        }
                        break;
-               case BT_GRAPH_RUN_STATUS_END:
-                       goto end;
                default:
                        if (bt_interrupter_is_set(the_interrupter)) {
                                BT_CLI_LOGW_APPEND_CAUSE(
This page took 0.024248 seconds and 4 git commands to generate.