fix initialize stream which may be used in error paths
[babeltrace.git] / plugins / ctf / fs / fs.c
index 2a8cd621b338c55a55d940796995b8c0a38dcfd1..ce9699dd3e384699bd7d614eccf6d103cda9dbaf 100644 (file)
@@ -241,7 +241,7 @@ enum bt_notification_iterator_status ctf_fs_iterator_next(
                struct bt_notification_iterator *iterator)
 {
        int heap_ret;
-       struct bt_ctf_stream *stream;
+       struct bt_ctf_stream *stream = NULL;
        struct ctf_fs_stream *fs_stream;
        struct bt_notification *notification;
        struct bt_notification *next_stream_notification;
This page took 0.025243 seconds and 4 git commands to generate.