Fix: string might be uninitialized
[lttng-tools.git] / src / common / tracker.c
index 0fdbd60f9eaacce380478be6b3dc9b68e77b3944..7c97d561c982139283afde068394da7703a161c6 100644 (file)
@@ -302,7 +302,7 @@ int lttng_tracker_ids_serialize(const struct lttng_tracker_ids *ids,
 {
        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;
This page took 0.02275 seconds and 4 git commands to generate.