mirror of
https://github.com/mpv-player/mpv
synced 2024-12-16 11:55:42 +00:00
Fix warning:
vo_macosx.m:251: warning: ISO C90 forbids mixed declarations and code git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25164 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0bb30d41b3
commit
e876561a9e
@ -246,9 +246,10 @@ static void uninit(void)
|
||||
|
||||
if(mpGLView)
|
||||
{
|
||||
NSAutoreleasePool *finalPool;
|
||||
mpGLView = nil;
|
||||
[autoreleasepool release];
|
||||
NSAutoreleasePool *finalPool = [[NSAutoreleasePool alloc] init];
|
||||
finalPool = [[NSAutoreleasePool alloc] init];
|
||||
[NSApp nextEventMatchingMask:NSAnyEventMask untilDate:nil inMode:NSDefaultRunLoopMode dequeue:YES];
|
||||
[finalPool release];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user