aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/rxqueue.c
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2011-12-06 01:53:26 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2011-12-06 01:53:26 +0100
commitd18db32f4777d0be6ccb6f46067c0532c07909d5 (patch)
treeaededfd1ae078687705e8a190e5efe1a67369df7 /protocols/oscar/rxqueue.c
parent5dc7f907bf24e52f83b9d2e7613cf4e1f7aebcdf (diff)
oscar: unused-but-set-variables
Diffstat (limited to 'protocols/oscar/rxqueue.c')
-rw-r--r--protocols/oscar/rxqueue.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/oscar/rxqueue.c b/protocols/oscar/rxqueue.c
index 34f389af..081e967c 100644
--- a/protocols/oscar/rxqueue.c
+++ b/protocols/oscar/rxqueue.c
@@ -387,10 +387,8 @@ int aim_get_command(aim_session_t *sess, aim_conn_t *conn)
* or we break. We must handle it just in case.
*/
if (aimbs_get8(&flaphdr) != 0x2a) {
- guint8 start;
-
aim_bstream_rewind(&flaphdr);
- start = aimbs_get8(&flaphdr);
+ aimbs_get8(&flaphdr);
imcb_error(sess->aux_data, "FLAP framing disrupted");
aim_conn_close(conn);
return -1;