diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 5609d2ec..34795692 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -2532,9 +2532,6 @@ _disco_items_result_handler(xmpp_stanza_t* const stanza) } xmpp_stanza_t* child = xmpp_stanza_get_children(query); - if (child == NULL) { - return; - } while (child) { const char* stanza_name = xmpp_stanza_get_name(child);