gcc 5.4.0 complains that:
event.cpp:1238:53: warning: missing initializer for member 'lttng_event_context_comm::payload' [-Wmissing-field-initializers]
The structure's members are initialized one by one.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Id7c01cd19cbf884efd16734239cae8476b798c20
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);