Index: src/XMPPSRVLookup.m ================================================================== --- src/XMPPSRVLookup.m +++ src/XMPPSRVLookup.m @@ -306,11 +306,11 @@ return self; } - (id)nextObject { - XMPPSRVEntry *ret; + XMPPSRVEntry *ret = nil; of_list_object_t *iter; uint32_t totalWeight = 0; if (done) return nil;