Skip to content

Commit

Permalink
Temporarily silence 2 warnings for unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
Owain R Hunt committed Nov 3, 2011
1 parent 89c0454 commit 649ebad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UAGithubEngine.m
Expand Up @@ -256,7 +256,7 @@ - (id)sendRequest:(NSString *)path requestType:(UAGithubRequestType)requestType

if (statusCode >= 400)
{
NSError *error = [NSError errorWithDomain:@"HTTP" code:statusCode userInfo:nil];
//NSError *error = [NSError errorWithDomain:@"HTTP" code:statusCode userInfo:nil];
[connections removeObjectForKey:uuid];
#pragma mark TODO Handle error

Expand Down
2 changes: 1 addition & 1 deletion UAGithubJSONParser.m
Expand Up @@ -81,7 +81,7 @@ + (void)parseJSON:(NSData *)theJSON delegate:(id)theDelegate connectionIdentifie
+ (id)parseJSON:(NSData *)theJSON
{
#pragma mark TODO Handle date elements
NSArray *dateElements = [NSArray arrayWithObjects:@"created_at", @"updated_at", @"closed_at", @"due_on", @"pushed_at", @"committed_at", @"merged_at", @"date", @"expirationdate", nil];
//NSArray *dateElements = [NSArray arrayWithObjects:@"created_at", @"updated_at", @"closed_at", @"due_on", @"pushed_at", @"committed_at", @"merged_at", @"date", @"expirationdate", nil];
NSMutableArray *jsonArray;
NSError *error = nil;
id jsonObj = [NSJSONSerialization JSONObjectWithData:theJSON options:NSJSONReadingMutableLeaves|NSJSONReadingMutableContainers|NSJSONReadingAllowFragments error:&error];
Expand Down

0 comments on commit 649ebad

Please sign in to comment.