diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-06 21:50:43 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-06 21:50:43 +0000 |
commit | b041b521c8b347c4660b0920f17b92b9c1484f49 (patch) | |
tree | 28cc72e1ac3158dbdd6e2c908dcc8a848f0272e3 /protocols/oscar/icq.c | |
parent | df98ee8b4abaa890a02e706d69b93724e8f7744d (diff) | |
parent | d7edadf94be620d226b569f5e14f45de7f08c03a (diff) |
Merging compiler warning fixes from vmiklos.
This change also uncovered one bug in groupchat handling in OSCAR, which
I fixed during the merge.
Diffstat (limited to 'protocols/oscar/icq.c')
-rw-r--r-- | protocols/oscar/icq.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/oscar/icq.c b/protocols/oscar/icq.c index f7c02e04..c2f8dda6 100644 --- a/protocols/oscar/icq.c +++ b/protocols/oscar/icq.c @@ -234,8 +234,7 @@ static int icqresponse(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_tlvlist_t *tl; aim_tlv_t *datatlv; aim_bstream_t qbs; - guint32 ouruin; - guint16 cmdlen, cmd, reqid; + guint16 cmd, reqid; if (!(tl = aim_readtlvchain(bs)) || !(datatlv = aim_gettlv(tl, 0x0001, 1))) { aim_freetlvchain(&tl); @@ -245,8 +244,8 @@ static int icqresponse(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, aim_bstream_init(&qbs, datatlv->value, datatlv->length); - cmdlen = aimbs_getle16(&qbs); - ouruin = aimbs_getle32(&qbs); + aimbs_getle16(&qbs); /* cmdlen */ + aimbs_getle32(&qbs); /* ouruin */ cmd = aimbs_getle16(&qbs); reqid = aimbs_getle16(&qbs); |