ctf: allocate some structures with new
[babeltrace.git] / src / plugins / ctf / fs-src / metadata.hpp
index 60790adac50166a1750e9e07e3abc8d79e6122fb..bd8d2496aa7ea1b24f76d297cc7019745deeb1ae 100644 (file)
@@ -15,9 +15,9 @@
 
 struct ctf_fs_metadata_config
 {
-    bool force_clock_class_origin_unix_epoch;
-    int64_t clock_class_offset_s;
-    int64_t clock_class_offset_ns;
+    bool force_clock_class_origin_unix_epoch = false;
+    int64_t clock_class_offset_s = 0;
+    int64_t clock_class_offset_ns = 0;
 };
 
 int ctf_fs_metadata_init(struct ctf_fs_metadata *metadata);
This page took 0.02399 seconds and 4 git commands to generate.