winemac.drv: Always initialize a closure-captured object pointer.

This commit is contained in:
Charles Davis 2015-01-29 16:23:25 -07:00 committed by Alexandre Julliard
parent 8ec1b4f010
commit a872c21a48
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ void OnMainThread(dispatch_block_t block)
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
NSMutableDictionary* threadDict = [[NSThread currentThread] threadDictionary];
WineEventQueue* queue = [threadDict objectForKey:WineEventQueueThreadDictionaryKey];
dispatch_semaphore_t semaphore;
dispatch_semaphore_t semaphore = NULL;
__block BOOL finished;
if (!queue)