Commit a872c21a authored by Charles Davis's avatar Charles Davis Committed by Alexandre Julliard

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

parent 8ec1b4f0
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment