Fix: sink.text.pretty: assign status at the end of pretty_consume
[babeltrace.git] / src / plugins / text / pretty / pretty.c
index a68321a841b7af5ebb94a0468391232638a775b6..a3aa3f812f8669865851176a235e5bac6d27d46d 100644 (file)
@@ -192,6 +192,8 @@ bt_component_class_sink_consume_method_status pretty_consume(
                bt_message_put_ref(msgs[i]);
        }
 
+       status = BT_COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_OK;
+
 end:
        for (; i < count; i++) {
                bt_message_put_ref(msgs[i]);
This page took 0.023418 seconds and 4 git commands to generate.