plugins/lttng-utils/copy.c: fix uninitialized use warning
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 9 Jun 2017 19:03:46 +0000 (15:03 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 9 Jun 2017 21:03:27 +0000 (17:03 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/lttng-utils/copy.c

index 5acfe3f0ae64acd4c8b2e1dfc55c81851135325a..3ac0da0f2985743c139f11be1d87e5feab0b931a 100644 (file)
@@ -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;
 
This page took 0.025367 seconds and 4 git commands to generate.