Update python bindings gitignore for native_bt.c
[babeltrace.git] / src / ctf-writer / stream-class.c
index 5346c530bdc5235baf4dcd3c3ea98670fd8723ea..ac3db47a1ff430fa71e461f8753417e1945af3d8 100644 (file)
 #include <stdbool.h>
 #include <stdint.h>
 
-#include <babeltrace2/ctf-writer/event.h>
-#include <babeltrace2/ctf-writer/object.h>
-#include <babeltrace2/ctf-writer/trace.h>
-#include <babeltrace2/ctf-writer/utils.h>
+#include <babeltrace2-ctf-writer/event.h>
+#include <babeltrace2-ctf-writer/object.h>
+#include <babeltrace2-ctf-writer/trace.h>
+#include <babeltrace2-ctf-writer/utils.h>
 
 #include "common/align.h"
 #include "common/assert.h"
@@ -613,7 +613,7 @@ int init_packet_context(struct bt_ctf_stream_class *stream_class)
                bt_ctf_field_type_structure_create();
        struct bt_ctf_field_type *_uint64_t =
                get_field_type(FIELD_TYPE_ALIAS_UINT64_T);
-       struct bt_ctf_field_type *ts_begin_end_uint64_t;
+       struct bt_ctf_field_type *ts_begin_end_uint64_t = NULL;
 
        if (!packet_context_type) {
                BT_LOGE_STR("Cannot create empty structure field type.");
This page took 0.02461 seconds and 4 git commands to generate.