Skip to content

Commit

Permalink
removing autorelease pool, it doesn't seem to be used
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Feb 1, 2017
1 parent 338f596 commit 41a7164
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions blueutil.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ void printHelp() {
}

int main(int argc, const char * argv[]) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
int result = EXIT_FAILURE;

if (!BTAvaliable()) {
Expand Down Expand Up @@ -108,6 +107,5 @@ int main(int argc, const char * argv[]) {
}
}

[pool release];
return result;
}

0 comments on commit 41a7164

Please sign in to comment.