Fix: sink.text.pretty: do not always update last timestamp
[babeltrace.git] / plugins / utils / trimmer / copy.c
index 33583c20dd0f259e7c41640f9b59883860068362..d5bcb5b7c2e97bb0357d33adcee9b29438d4bbf3 100644 (file)
@@ -76,11 +76,11 @@ end:
 }
 
 BT_HIDDEN
-enum bt_component_status update_packet_context_field(FILE *err,
+bt_component_status update_packet_context_field(FILE *err,
                const bt_packet *writer_packet,
                const char *name, int64_t value)
 {
-       enum bt_component_status ret;
+       bt_component_status ret;
        const bt_field *packet_context = NULL, *writer_packet_context = NULL;
        const bt_field_class *struct_class = NULL, *field_class = NULL;
        const bt_field *field = NULL, *writer_field = NULL;
@@ -257,7 +257,7 @@ const bt_event *trimmer_output_event(
                goto error;
        }
 
-       /* We keep the reference on the writer_event to create a notification. */
+       /* We keep the reference on the writer_event to create a message. */
        goto end;
 
 error:
This page took 0.024229 seconds and 4 git commands to generate.