From 29cff1612f51a69e3a45dcdfdc785c1b84e85348 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 19 Dec 2010 11:30:01 +0000 Subject: Removed compilation warning. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8061 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index a585cbcc3..ea3c05983 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -1358,7 +1358,8 @@ void fl_open_display() { beenHereDoneThat = 1; [FLApplication sharedApplication]; - NSAutoreleasePool *localPool = [[NSAutoreleasePool alloc] init]; // never released + NSAutoreleasePool *localPool; + localPool = [[NSAutoreleasePool alloc] init]; // never released mydelegate = [[FLDelegate alloc] init]; [NSApp setDelegate:mydelegate]; [NSApp finishLaunching]; -- cgit v1.2.3