Reported by Coverity:
CID
1475823: Uninitialized scalar variable (UNINIT)
Using uninitialized value nb_events.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I623b1ed0c1ef9b4acddb1e46e7311dfcdc974629
enum lttng_error_code ret_code = LTTNG_OK;
struct lttcomm_list_command_header reply_command_header = {};
size_t reply_command_header_offset;
- unsigned int nb_events;
+ unsigned int nb_events = 0;
assert(reply_payload);