mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-05 09:39:09 +08:00
Fix static analyzer issues
This commit is contained in:
@@ -15,7 +15,7 @@ RK_FIX_CATEGORY_BUG(RKObjectMappingProvider_CoreData)
|
||||
|
||||
- (void)setObjectMapping:(RKObjectMappingDefinition *)objectMapping forResourcePathPattern:(NSString *)resourcePath withFetchRequestBlock:(RKObjectMappingProviderFetchRequestBlock)fetchRequestBlock {
|
||||
[self setEntry:[RKObjectMappingProviderContextEntry contextEntryWithMapping:objectMapping
|
||||
userData:[fetchRequestBlock copy]] forResourcePathPattern:resourcePath];
|
||||
userData:Block_copy(fetchRequestBlock)] forResourcePathPattern:resourcePath];
|
||||
}
|
||||
|
||||
- (NSFetchRequest *)fetchRequestForResourcePath:(NSString *)resourcePath {
|
||||
|
||||
Reference in New Issue
Block a user