Fix: uninitialized use of ctf_fs
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 6 Sep 2016 20:12:34 +0000 (16:12 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:06 +0000 (14:09 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/ctf/fs/fs.c

index 2c0ca58e067c867d26a092899c9a56214af3192b..bcaf4d5ab6df61d02774045b9ae76cd624705e6f 100644 (file)
@@ -76,6 +76,9 @@ enum bt_notification_iterator_status ctf_fs_iterator_next(
                goto end;
        }
 
+       ctf_fs = bt_component_get_private_data(component);
+       assert(ctf_fs);
+
        ret = ctf_fs_data_stream_get_next_notification(ctf_fs, &notification);
        if (ret || !notification) {
                goto end;
This page took 0.026938 seconds and 4 git commands to generate.