Fix: uninitialized use of ctf_fs
[babeltrace.git] / 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.024846 seconds and 4 git commands to generate.