Skip to content

Commit

Permalink
Fixing warnings.
Browse files Browse the repository at this point in the history
Signed-off-by: Levi Brown <levi@grokers.net>
  • Loading branch information
Levi Brown committed Jul 18, 2013
1 parent 6815105 commit 303a0d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Code/ObjectMapping/RKObjectMapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ - (RKObjectMappingResult *)performMapping
if (mappableData) {
id mappingResult = [self performMappingForObject:mappableData atKeyPath:@"" usingMapping:mappingsForContext];
foundMappable = YES;
results = [NSDictionary dictionaryWithObject:mappingResult forKey:@""];
results = [NSMutableDictionary dictionaryWithObject:mappingResult forKey:@""];
}
}

Expand Down
2 changes: 1 addition & 1 deletion Code/Support/RKDotNetDateFormatter.m
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ - (NSString *)millisecondsFromString:(NSString *)string
{
if (!string)
return nil;
NSTextCheckingResult *match = [dotNetExpression firstMatchInString:string options:NSMatchingCompleted range:NSMakeRange(0, [string length])];
NSTextCheckingResult *match = [dotNetExpression firstMatchInString:string options:NSMatchingReportCompletion range:NSMakeRange(0, [string length])];
if (!match)
return nil;
NSRange millisecRange = [match rangeAtIndex:1];
Expand Down
2 changes: 1 addition & 1 deletion Code/Support/RKFixCategoryBug.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
Shamelessly borrowed from Three20
*/
#define RK_FIX_CATEGORY_BUG(name) @interface RK_FIX_CATEGORY_BUG##name @end \
#define RK_FIX_CATEGORY_BUG(name) @interface RK_FIX_CATEGORY_BUG##name : NSObject @end \
@implementation RK_FIX_CATEGORY_BUG##name @end

#endif

0 comments on commit 303a0d0

Please sign in to comment.