Mercurial > mplayer.hg
changeset 25136:e029d2fcd20f
Fix warning:
vo_macosx.m:251: warning: ISO C90 forbids mixed declarations and code
author | ulion |
---|---|
date | Mon, 26 Nov 2007 02:57:02 +0000 |
parents | 66f628d13442 |
children | 6f2f5c2dea52 |
files | libvo/vo_macosx.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_macosx.m Mon Nov 26 00:41:21 2007 +0000 +++ b/libvo/vo_macosx.m Mon Nov 26 02:57:02 2007 +0000 @@ -246,9 +246,10 @@ 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]; }