Remove a false-positive from scan-build. Initialization of
var_data_len should have been enough but scan build is not smart
enough to understand this.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I90cb449f3092db432967a3f2ea5eedb0728b8678
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
{
int ret;
struct lttcomm_session_msg lsm;
- const char *var_data;
+ const char *var_data = NULL;
size_t var_data_len = 0;
int value;
enum lttng_tracker_id_status status;