tidy whitespace

This commit is contained in:
Richard Frith-Macdonald 2020-05-29 16:24:59 +01:00
parent 21ddc5fefb
commit 1be8a1375a

View file

@ -76,22 +76,22 @@
return done; return done;
} }
- (void)waitUntilDate: (NSDate*)date - (void) waitUntilDate: (NSDate*)date
{ {
[condition waitUntilDate: date]; [condition waitUntilDate: date];
} }
- (void)lock - (void) lock
{ {
[condition lock]; [condition lock];
} }
- (void)unlock - (void) unlock
{ {
[condition unlock]; [condition unlock];
} }
- (void)dealloc - (void) dealloc
{ {
DESTROY(condition); DESTROY(condition);
[super dealloc]; [super dealloc];
@ -118,7 +118,6 @@ int main(void)
{ {
pthread_t thr; pthread_t thr;
pthread_attr_t attr; pthread_attr_t attr;
void *ret;
pthread_attr_init(&attr); pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
NSAutoreleasePool *arp = [NSAutoreleasePool new]; NSAutoreleasePool *arp = [NSAutoreleasePool new];