diff options
author | Marcus Lundblad <malu@pidgin.im> | 2009-02-07 11:09:31 +0000 |
---|---|---|
committer | Marcus Lundblad <malu@pidgin.im> | 2009-02-07 11:09:31 +0000 |
commit | df9ffcf81e13f48854c862490e76d16c0c018f7f (patch) | |
tree | f8532272070bfd2b6e6bba20db18e8d6bf85a5c6 | |
parent | b45570d29829798f9edaf4e1ef7fda557427373d (diff) | |
download | pidgin-df9ffcf81e13f48854c862490e76d16c0c018f7f.tar.gz |
Remove some unused variables
-rw-r--r-- | libpurple/protocols/jabber/jabber.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libpurple/protocols/jabber/jabber.c b/libpurple/protocols/jabber/jabber.c index 65dcc62b6a..f10d008ad0 100644 --- a/libpurple/protocols/jabber/jabber.c +++ b/libpurple/protocols/jabber/jabber.c @@ -1754,15 +1754,12 @@ void jabber_tooltip_text(PurpleBuddy *b, PurpleNotifyUserInfo *user_info, gboole gboolean multiple_resources = jb->resources && g_list_next(jb->resources); JabberBuddyResource *top_jbr = jabber_buddy_find_resource(jb, NULL); - + /* resource-specific info for the top resource */ jabber_tooltip_add_resource_text(top_jbr, user_info, multiple_resources); - - for(l=jb->resources; l; l = l->next) { - char *res = NULL; - char *label; + for(l=jb->resources; l; l = l->next) { jbr = l->data; /* the remaining resources */ if (jbr != top_jbr) { @@ -1774,7 +1771,6 @@ void jabber_tooltip_text(PurpleBuddy *b, PurpleNotifyUserInfo *user_info, gboole if (full) { PurpleStatus *status; - status = purple_presence_get_active_status(presence); mood = purple_status_get_attr_string(status, "mood"); if(mood != NULL) { |