Fix: potential use of uninitialized return value
[lttng-tools.git] / src / common / tracker.c
index 2c91d5d6ebd45c6991a421a5aff2897c15a55fb6..0fdbd60f9eaacce380478be6b3dc9b68e77b3944 100644 (file)
@@ -300,7 +300,7 @@ void lttng_tracker_ids_destroy(struct lttng_tracker_ids *ids)
 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;
        unsigned int count;
This page took 0.029923 seconds and 4 git commands to generate.