title: Method returns value but "Control may reach end of non-void function"
body: <p>I'm new to obj-c, here writing a convenience routine to fetch entities from a Core Data store. XCode is warning me that I'm missing a return value. Why?</p>
  
  <pre><code> - (NSArray *)findEntities:(NSString *)entityName byField:(NSString *)fieldName andValue:(id)fieldValue
   {
       NSFetchRequest *fetchRequest = [NSFetchRequest fetchRequestWithEntityName:entityName];
       NSPredicate *predicate = [NSPredicate predicateWithFormat:@"%K == %@", fieldName, fieldValue];
       [fetchRequest setPredicate:predicate];
       NSError *error;
       NSArray *fetchedObjects = [context executeFetchRequest:fetchRequest error:&amp;error];
       if (error) {
           NSLog(@"LWStore: findEntities error: %@", [error localizedDescription]);
       }
       return fetchedObjects;
   }    
  </code></pre>
  
  <p>The warning is attached to the executeFetchRequest line.</p>