Mercurial > pidgin
diff libpurple/protocols/jabber/disco.c @ 30413:7c871249318b
Fix some "Dead nested assignment"s and then kill off some useless
variables related to them.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 14 Aug 2010 05:17:38 +0000 |
parents | 3e5bb4e2334c |
children | 25e200cb3532 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/disco.c Sat Aug 14 03:55:19 2010 +0000 +++ b/libpurple/protocols/jabber/disco.c Sat Aug 14 05:17:38 2010 +0000 @@ -604,7 +604,7 @@ /* we don't actually care about the specific nodes, * so we won't query them */ - if((node = xmlnode_get_attrib(child, "node"))) + if(xmlnode_get_attrib(child, "node") != NULL) continue; iq = jabber_iq_new_query(js, JABBER_IQ_GET, NS_DISCO_INFO);