From 4552254a68798e90ea624f0612deba649f9061e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 14 Jun 2017 18:13:31 -0400 Subject: [PATCH] Fix: uninitialized return value in copy.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- plugins/lttng-utils/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lttng-utils/copy.c b/plugins/lttng-utils/copy.c index db828c42..668bd032 100644 --- a/plugins/lttng-utils/copy.c +++ b/plugins/lttng-utils/copy.c @@ -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) { -- 2.34.1