Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

Commit

Permalink
Remove format string warnings
Browse files Browse the repository at this point in the history
Deletes the logging but I can add that back in should I need it.
  • Loading branch information
mattr- committed Jan 19, 2015
1 parent e729fd3 commit 2cbe961
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Slate/ShellUtils.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ + (NSTask *)run:(NSString *)command args:(NSArray *)args wait:(BOOL)wait path:(N
[task launch];
if (wait){
[task waitUntilExit];
SlateLogger(@"SHELL RESULT:");
SlateLogger([[NSString alloc] initWithData:[file readDataToEndOfFile] encoding:NSUTF8StringEncoding]);
}
return task;
}
Expand Down Expand Up @@ -108,8 +106,6 @@ + (NSString *)run:(NSString *)commandAndArgs wait:(BOOL)wait path:(NSString *)pa
[task waitUntilExit];
NSData *data = [file readDataToEndOfFile];
NSString *res = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
SlateLogger(@"SHELL RESULT:");
SlateLogger(res);
return res;
}

Expand Down

0 comments on commit 2cbe961

Please sign in to comment.