libpurple/protocols/oscar/family_bart.c

changeset 33892
ef97228bc5f0
parent 32978
15ee0ec69dfa
child 35989
2b5a26ddbb69
--- a/libpurple/protocols/oscar/family_bart.c	Sun Apr 14 21:45:09 2013 +0200
+++ b/libpurple/protocols/oscar/family_bart.c	Mon Apr 15 00:48:17 2013 +0200
@@ -73,12 +73,10 @@
 {
 	int ret = 0;
 	aim_rxcallback_t userfunc;
-	guint16 something, somethingelse;
-	guint8 onemorething;
 
-	something = byte_stream_get16(bs);
-	somethingelse = byte_stream_get16(bs);
-	onemorething = byte_stream_get8(bs);
+	byte_stream_get16(bs);
+	byte_stream_get16(bs);
+	byte_stream_get8(bs);
 
 	if ((userfunc = aim_callhandler(od, snac->family, snac->subtype)))
 		ret = userfunc(od, conn, frame);
@@ -139,7 +137,7 @@
 	int ret = 0;
 	aim_rxcallback_t userfunc;
 	char *bn;
-	guint16 flags, iconlen;
+	guint16 iconlen;
 	guint8 iconcsumtype, iconcsumlen, *iconcsum, *icon;
 
 	bn = byte_stream_getstr(bs, byte_stream_get8(bs));
@@ -149,7 +147,7 @@
 		g_free(bn);
 		return 1;
 	}
-	flags = byte_stream_get16(bs);
+	byte_stream_get16(bs); /* flags */
 	iconcsumtype = byte_stream_get8(bs);
 	iconcsumlen = byte_stream_get8(bs);
 	iconcsum = byte_stream_getraw(bs, iconcsumlen);

mercurial