diff --git a/src/XMPPSRVLookup.m b/src/XMPPSRVLookup.m index 01e2676..10ea511 100644 --- a/src/XMPPSRVLookup.m +++ b/src/XMPPSRVLookup.m @@ -308,7 +308,7 @@ - (id)nextObject { - XMPPSRVEntry *ret; + XMPPSRVEntry *ret = nil; of_list_object_t *iter; uint32_t totalWeight = 0;