Fix: uninitialized return value in copy.c
[babeltrace.git] / plugins / lttng-utils / copy.c
index db828c42eab08a64334804281ce1401be6bd52a7..668bd0321396e61722ebe481be7d250da8d9ee03 100644 (file)
@@ -1901,7 +1901,7 @@ int set_event_clock_value(FILE *err, struct bt_ctf_event *event,
 {
        struct bt_ctf_clock_class *clock_class = NULL;
        struct bt_ctf_clock_value *clock_value = NULL;
-       int ret;
+       int ret = 0;
 
        clock_class = event_get_clock_class(err, event);
        if (!clock_class) {
This page took 0.024822 seconds and 4 git commands to generate.