Fix: comparison of unsigned enum expression >= 0
authorDavid Goulet <dgoulet@efficios.com>
Mon, 25 Nov 2013 19:15:51 +0000 (14:15 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 26 Nov 2013 16:06:22 +0000 (11:06 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
Conflicts:
src/common/ust-consumer/ust-consumer.c

src/common/ust-consumer/ust-consumer.c

index 68d467633b6253b11272acab17bf73f505841345..6e7e1679476c742cfd2b71c3454ecf2c348d5fed 100644 (file)
@@ -1596,14 +1596,14 @@ int lttng_ustconsumer_request_metadata(struct lttng_consumer_local_data *ctx,
                goto end;
        }
 
-       ret_code = lttng_ustconsumer_recv_metadata(ctx->consumer_metadata_socket,
+       ret = lttng_ustconsumer_recv_metadata(ctx->consumer_metadata_socket,
                        key, offset, len, channel, timer);
-       if (ret_code >= 0) {
+       if (ret >= 0) {
                /*
                 * Only send the status msg if the sessiond is alive meaning a positive
                 * ret code.
                 */
-               (void) consumer_send_status_msg(ctx->consumer_metadata_socket, ret_code);
+               (void) consumer_send_status_msg(ctx->consumer_metadata_socket, ret);
        }
        ret = 0;
 
This page took 0.028962 seconds and 4 git commands to generate.