avoid compiler warnings

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-02-28 19:49:57 +00:00
parent 6641e12d91
commit aa5229a6cb
31 changed files with 201 additions and 163 deletions

View file

@ -373,8 +373,8 @@ static NSArray *empty = nil;
- (void) start
{
CREATE_AUTORELEASE_POOL(pool);
double prio = [NSThread threadPriority];
NSAutoreleasePool *pool = [NSAutoreleasePool new];
double prio = [NSThread threadPriority];
[internal->lock lock];
NS_DURING
@ -452,7 +452,7 @@ static NSArray *empty = nil;
}
NS_ENDHANDLER
[internal->lock unlock];
RELEASE(pool);
[pool release];
}
- (double) threadPriority