X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ftracker.c;h=c07ea536bb3905e60a83b2ebb1edbc319b1b44f8;hb=ac41e67e39946acd97752ce52b964976890c5e87;hp=0fdbd60f9eaacce380478be6b3dc9b68e77b3944;hpb=235493868254e943513c6552c6821236284f00ac;p=lttng-tools.git diff --git a/src/common/tracker.c b/src/common/tracker.c index 0fdbd60f9..c07ea536b 100644 --- a/src/common/tracker.c +++ b/src/common/tracker.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019 Jonathan Rajotte-Julien + * Copyright (C) 2019 Jonathan Rajotte * * SPDX-License-Identifier: LGPL-2.1-only * @@ -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;