diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-12-06 01:53:26 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-12-06 01:53:26 +0100 |
commit | d18db32f4777d0be6ccb6f46067c0532c07909d5 (patch) | |
tree | aededfd1ae078687705e8a190e5efe1a67369df7 /protocols/oscar/chatnav.c | |
parent | 5dc7f907bf24e52f83b9d2e7613cf4e1f7aebcdf (diff) |
oscar: unused-but-set-variables
Diffstat (limited to 'protocols/oscar/chatnav.c')
-rw-r--r-- | protocols/oscar/chatnav.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/protocols/oscar/chatnav.c b/protocols/oscar/chatnav.c index 7cfc52af..e2de2ff3 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 @@ -203,11 +199,8 @@ static int parseinfo_perms(aim_session_t *sess, aim_module_t *mod, aim_frame_t * * 2 Exchange creation allowed * */ - if (aim_gettlv(innerlist, 0x00d5, 1)) { - guint8 createperms; - - createperms = aim_gettlv8(innerlist, 0x00d5, 1); - } + if (aim_gettlv(innerlist, 0x00d5, 1)) + ; /* * Type 0x00d6: Character Set (First Time) |