summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Lundblad <malu@pidgin.im>2009-02-07 11:09:31 +0000
committerMarcus Lundblad <malu@pidgin.im>2009-02-07 11:09:31 +0000
commitdf9ffcf81e13f48854c862490e76d16c0c018f7f (patch)
treef8532272070bfd2b6e6bba20db18e8d6bf85a5c6
parentb45570d29829798f9edaf4e1ef7fda557427373d (diff)
downloadpidgin-df9ffcf81e13f48854c862490e76d16c0c018f7f.tar.gz
Remove some unused variables
-rw-r--r--libpurple/protocols/jabber/jabber.c8
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) {