Mercurial > ~mikael > mcabber > hg
diff mcabber/src/xmpp_iq.c @ 1665:1a4890514eb9
Clean up some dead assignments/dead variables
author | Ulrich Spörlein |
---|---|
date | Tue, 02 Feb 2010 19:44:39 +0100 |
parents | fca9a4c17432 |
children | 68c57f52d05a |
line wrap: on
line diff
--- a/mcabber/src/xmpp_iq.c Sat Jan 30 17:54:58 2010 +0200 +++ b/mcabber/src/xmpp_iq.c Tue Feb 02 19:44:39 2010 +0100 @@ -294,7 +294,7 @@ static void _callback_foreach_buddy_groupchat(gpointer rosterdata, void *param) { - LmMessageNode *field, *value, *option; + LmMessageNode *field, *option; const char *room_jid, *nickname; char *desc; @@ -305,7 +305,7 @@ field = param; option = lm_message_node_add_child(field, "option", NULL); - value = lm_message_node_add_child(option, "value", room_jid); + lm_message_node_add_child(option, "value", room_jid); desc = g_strdup_printf("%s on %s", nickname, room_jid); lm_message_node_set_attribute(option, "label", desc); g_free(desc);