Build fix: missing initializer for member 'payload'
[lttng-tools.git] / src / common / event.cpp
index 4207b73471c5b943778c120950f3b7df849fc080..f33518eee4eece45c2c8ce762cb22765a682209b 100644 (file)
@@ -1237,7 +1237,9 @@ int lttng_event_context_serialize(struct lttng_event_context *context,
                struct lttng_payload *payload)
 {
        int ret;
-       struct lttng_event_context_comm context_comm = { 0 };
+       struct lttng_event_context_comm context_comm;
+
+       context_comm.type = 0;
 
        assert(context);
        assert(payload);
This page took 0.023298 seconds and 4 git commands to generate.