/pidgin/main: 0c9bbd23c7d4: Remove unused variable.

Mark Doliner mark at kingant.net
Tue Jan 28 10:38:13 EST 2014


Changeset: 0c9bbd23c7d41c1b50a2a74bef34b060b0cbc57d
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2014-01-19 18:30 -0800
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/0c9bbd23c7d4

Description:

Remove unused variable.

diffstat:

 libpurple/protocols/jabber/bosh.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff --git a/libpurple/protocols/jabber/bosh.c b/libpurple/protocols/jabber/bosh.c
--- a/libpurple/protocols/jabber/bosh.c
+++ b/libpurple/protocols/jabber/bosh.c
@@ -850,7 +850,7 @@ static void
 http_connection_read(PurpleHTTPConnection *conn)
 {
 	char buffer[1025];
-	int cnt, count = 0;
+	int cnt;
 
 	if (!conn->read_buf)
 		conn->read_buf = g_string_new(NULL);
@@ -862,7 +862,6 @@ http_connection_read(PurpleHTTPConnectio
 			cnt = read(conn->fd, buffer, sizeof(buffer));
 
 		if (cnt > 0) {
-			count += cnt;
 			g_string_append_len(conn->read_buf, buffer, cnt);
 		}
 	} while (cnt > 0);



More information about the Commits mailing list