pidgin/pidgin

Remove unused variable.
release-2.x.y
2014-01-19, Mark Doliner
0c9bbd23c7d4
Parents 7b080f86fcbc
Children c3077dd1c5c7
Remove unused variable.
--- a/libpurple/protocols/jabber/bosh.c Sun Jan 19 11:34:01 2014 -0800
+++ b/libpurple/protocols/jabber/bosh.c Sun Jan 19 18:30:20 2014 -0800
@@ -850,7 +850,7 @@
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 @@
cnt = read(conn->fd, buffer, sizeof(buffer));
if (cnt > 0) {
- count += cnt;
g_string_append_len(conn->read_buf, buffer, cnt);
}
} while (cnt > 0);