Fix uninitialized variable
authorDavid Goulet <david.goulet@polymtl.ca>
Wed, 3 Aug 2011 20:06:55 +0000 (16:06 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Wed, 3 Aug 2011 20:06:55 +0000 (16:06 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c

index fc1ef92248289dbf7a9f7a573ce24740a6acf129..6fa89dd1e69ee000797584410aac26bc84aa8212 100644 (file)
@@ -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++;
This page took 0.026361 seconds and 4 git commands to generate.