From: David Goulet Date: Wed, 3 Aug 2011 20:06:55 +0000 (-0400) Subject: Fix uninitialized variable X-Git-Tag: v2.0-pre7~16 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4b2221858653255be812d5a4e55c2ec05ec1819e;p=lttng-tools.git Fix uninitialized variable Signed-off-by: David Goulet --- diff --git a/ltt-sessiond/main.c b/ltt-sessiond/main.c index fc1ef9224..6fa89dd1e 100644 --- a/ltt-sessiond/main.c +++ b/ltt-sessiond/main.c @@ -1941,7 +1941,7 @@ static int process_client_msg(struct command_ctx *cmd_ctx) */ case LTTNG_LIST_DOMAINS: { - size_t nb_dom; + size_t nb_dom = 0; if (cmd_ctx->session->kernel_session != NULL) { nb_dom++;