algoliasearch-client-objc
algoliasearch-client-objc copied to clipboard
Wrong comparison type in ASQuery.m generates a warning at compile time
At line 292 in ASQuery.m this if statement compares wrong RHS type:
if (self.aroundLatLongViaIP != nil)
self.arounfLatLongViaIP is of type BOOL but nil cannot be used to compare BOOL values.
This generates a warning at compile time:
Comparison between pointer and integer ('int' and 'void *')

Thanks a lot for your bug report, I have just fixed the issue and will publish the new version soon.