Fix: src.ctf.fs: initialize the other_entry variable
[babeltrace.git] / src / plugins / ctf / fs-src / fs.c
index e87523a37c0f70ae4a7ee2e49ea059831de4f8dd..a6b5315ffc067cc92547a1fadd22e5fcbe414496 100644 (file)
@@ -680,7 +680,7 @@ void ds_index_insert_ds_index_entry_sorted(
        struct ctf_fs_ds_index_entry *entry)
 {
        guint i;
-       struct ctf_fs_ds_index_entry *other_entry;
+       struct ctf_fs_ds_index_entry *other_entry = NULL;
 
        /* Find the spot where to insert this index entry. */
        for (i = 0; i < index->entries->len; i++) {
This page took 0.02457 seconds and 4 git commands to generate.