From 90e14ff7321d203797540017756ab68ccfd685cd Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Wed, 9 May 2012 16:12:43 +0000 Subject: [PATCH] - unused var --- src/util/server.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util/server.c b/src/util/server.c index 4466a9f93..0dd100ab7 100644 --- a/src/util/server.c +++ b/src/util/server.c @@ -1266,7 +1266,6 @@ GNUNET_SERVER_client_disconnect (struct GNUNET_SERVER_Client *client) struct GNUNET_SERVER_Client *prev; struct GNUNET_SERVER_Client *pos; struct NotifyList *n; - unsigned int rc; LOG (GNUNET_ERROR_TYPE_DEBUG, "Client is being disconnected from the server.\n"); @@ -1285,7 +1284,7 @@ GNUNET_SERVER_client_disconnect (struct GNUNET_SERVER_Client *client) GNUNET_CONNECTION_receive_cancel (client->connection); client->receive_pending = GNUNET_NO; } - rc = client->reference_count; + client->reference_count++; /* make sure nobody else clean up client... */ if ( (GNUNET_YES != client->shutdown_now) && (NULL != server) ) -- 2.25.1