Prepare for '-Wmissing-field-initializers'
[lttng-tools.git] / src / common / session-descriptor.cpp
index ec510b0c6e392b1299f27dee414551bc64e7a03d..e8a602121351b6034aa8846bf877be6945f76655 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2019 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * SPDX-License-Identifier: GPL-2.0-only
+ * SPDX-License-Identifier: LGPL-2.1-only
  */
 
 #include <lttng/session-descriptor-internal.h>
@@ -816,7 +816,10 @@ int lttng_session_descriptor_serialize(
                        .output_type = (uint8_t) descriptor->output_type,
                        .name_len = (uint32_t) (descriptor->name ?
                                strlen(descriptor->name) + 1 : 0),
-               }
+                       .uri_count = 0,
+               },
+               .live_timer_us = 0,
+
        };
        const void *header_ptr = NULL;
        size_t header_size;
This page took 0.023736 seconds and 4 git commands to generate.