From: David Goulet Date: Wed, 26 Oct 2011 11:49:38 +0000 (-0400) Subject: Remove unused variable X-Git-Tag: v2.0-pre15~183 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e96b947ac3c1f39563a1f6748405f3bb42eba23a;p=lttng-tools.git Remove unused variable Signed-off-by: David Goulet --- diff --git a/ltt-sessiond/main.c b/ltt-sessiond/main.c index 167187e4d..ddf5acd2f 100644 --- a/ltt-sessiond/main.c +++ b/ltt-sessiond/main.c @@ -417,13 +417,11 @@ static int send_consumer_channel_streams(struct consumer_data *consumer_data, int sock, struct ltt_kernel_channel *channel) { int ret; - size_t nb_fd; struct ltt_kernel_stream *stream; struct lttcomm_consumer_msg lkm; DBG("Sending streams of channel %s to kernel consumer", channel->channel->name); - nb_fd = channel->stream_count; /* Send channel */ lkm.cmd_type = LTTNG_CONSUMER_ADD_CHANNEL;