/*
- * Copyright (C) 2019 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
+ * Copyright (C) 2019 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
*
* SPDX-License-Identifier: LGPL-2.1-only
*
int lttng_tracker_ids_serialize(const struct lttng_tracker_ids *ids,
struct lttng_dynamic_buffer *buffer)
{
- int ret;
+ int ret = 0;
int value;
- const char *string;
+ const char *string = NULL;
unsigned int count;
enum lttng_tracker_id_status status;
const struct lttng_tracker_id *id;