From 0bb3da025004205aa2c32812328030ac69b358a3 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 9 Jun 2017 15:03:46 -0400 Subject: [PATCH] plugins/lttng-utils/copy.c: fix uninitialized use warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx 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 5acfe3f0..3ac0da0f 100644 --- a/plugins/lttng-utils/copy.c +++ b/plugins/lttng-utils/copy.c @@ -1533,7 +1533,7 @@ BT_HIDDEN struct bt_ctf_stream *debug_info_stream_end(struct debug_info_iterator *debug_it, struct bt_ctf_stream *stream) { - struct bt_ctf_stream *writer_stream; + struct bt_ctf_stream *writer_stream = NULL; struct debug_info_trace *di_trace = NULL; enum debug_info_stream_state *state; -- 2.34.1