From: Philippe Proulx Date: Fri, 9 Jun 2017 19:03:46 +0000 (-0400) Subject: plugins/lttng-utils/copy.c: fix uninitialized use warning X-Git-Tag: v2.0.0-pre1~17 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=0bb3da025004205aa2c32812328030ac69b358a3 plugins/lttng-utils/copy.c: fix uninitialized use warning Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- 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;