From d18db32f4777d0be6ccb6f46067c0532c07909d5 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 6 Dec 2011 01:53:26 +0100 Subject: oscar: unused-but-set-variables --- protocols/oscar/rxqueue.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/oscar/rxqueue.c') 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; -- cgit v1.2.3