Fix static analyzer issues

This commit is contained in:
Blake Watters
2012-05-18 20:01:56 -04:00
parent 4105625776
commit 489bb0423a
6 changed files with 7 additions and 8 deletions

View File

@@ -126,8 +126,8 @@ NSString *RKPathAppendQueryParams(NSString *resourcePath, NSDictionary *queryPar
- (id)init {
self = [super init];
if (self) {
self.HTTPHeaders = [[NSMutableDictionary alloc] init];
self.additionalRootCertificates = [[NSMutableSet alloc] init];
self.HTTPHeaders = [NSMutableDictionary dictionary];
self.additionalRootCertificates = [NSMutableSet set];
self.defaultHTTPEncoding = NSUTF8StringEncoding;
self.cacheTimeoutInterval = 0;
self.runLoopMode = NSRunLoopCommonModes;