mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-15 01:02:15 +08:00
Fix static analyzer issues
This commit is contained in:
@@ -106,11 +106,11 @@
|
||||
|
||||
NSError *error = nil;
|
||||
NSArray *objectIDs = [self.managedObjectContext executeFetchRequest:fetchRequest error:&error];
|
||||
[fetchRequest release];
|
||||
if (error) {
|
||||
RKLogError(@"Failed to load entity cache: %@", error);
|
||||
return;
|
||||
}
|
||||
[fetchRequest release];
|
||||
|
||||
self.attributeValuesToObjectIDs = [NSMutableDictionary dictionaryWithCapacity:[objectIDs count]];
|
||||
for (NSManagedObjectID *objectID in objectIDs) {
|
||||
|
||||
Reference in New Issue
Block a user