kylef-archive / KFData

Core Data done right for iOS 5+/OS X 10.7+
http://cocoadocs.org/docsets/KFData/
BSD 2-Clause "Simplified" License
53 stars 7 forks source link

Fix: should be an else statement #61

Closed calvincestari closed 10 years ago

calvincestari commented 10 years ago

Should this not be an else statement?

kylef commented 10 years ago

This isn't a bug and it doesn't change any behaviour since count == 1 and (count > 1) can't both be true at the same time.

if (count == 1) {
} if ((count > 1) && error != nil) {
if (count == 1) {
} else if ((count > 1) && error != nil) {