aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/chatnav.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-06 21:50:43 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-06 21:50:43 +0000
commitb041b521c8b347c4660b0920f17b92b9c1484f49 (patch)
tree28cc72e1ac3158dbdd6e2c908dcc8a848f0272e3 /protocols/oscar/chatnav.c
parentdf98ee8b4abaa890a02e706d69b93724e8f7744d (diff)
parentd7edadf94be620d226b569f5e14f45de7f08c03a (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/chatnav.c')
-rw-r--r--protocols/oscar/chatnav.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/protocols/oscar/chatnav.c b/protocols/oscar/chatnav.c
index 7cfc52af..1aefd6e7 100644
--- a/protocols/oscar/chatnav.c
+++ b/protocols/oscar/chatnav.c
@@ -138,12 +138,8 @@ static int parseinfo_perms(aim_session_t *sess, aim_module_t *mod, aim_frame_t *
/*
* Type 0x0002: Unknown
*/
- if (aim_gettlv(innerlist, 0x0002, 1)) {
- guint16 classperms;
-
- classperms = aim_gettlv16(innerlist, 0x0002, 1);
-
- }
+ if (aim_gettlv(innerlist, 0x0002, 1))
+ ;
/*
* Type 0x00c9: Flags
@@ -204,9 +200,7 @@ static int parseinfo_perms(aim_session_t *sess, aim_module_t *mod, aim_frame_t *
*
*/
if (aim_gettlv(innerlist, 0x00d5, 1)) {
- guint8 createperms;
-
- createperms = aim_gettlv8(innerlist, 0x00d5, 1);
+ aim_gettlv8(innerlist, 0x00d5, 1); /* createperms */
}
/*