gcc 5.4.0 complains that:
actions/path.cpp:191:7: warning: missing initializer for member '{anonymous}::lttng_action_path_comm::indexes' [-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: I3b365e89c6a11cf65f609a4e14ae972faa2a518d
goto end;
}
- comm = {
- .index_count = (uint32_t) index_count,
- };
+ comm.index_count = (uint32_t) index_count;
ret = lttng_dynamic_buffer_append(&payload->buffer,
&comm,
sizeof(struct lttng_action_path_comm));