mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-02 22:42:45 +08:00
Fix static analyzer issues
This commit is contained in:
@@ -103,8 +103,7 @@ static dispatch_queue_t defaultMappingQueue = nil;
|
||||
- (id)initWithBaseURL:(RKURL *)baseURL {
|
||||
self = [self init];
|
||||
if (self) {
|
||||
self.client = [[RKClient alloc] initWithBaseURL:baseURL];
|
||||
[self.client release];
|
||||
self.client = [RKClient clientWithBaseURL:baseURL];
|
||||
self.acceptMIMEType = RKMIMETypeJSON;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user