mirror of
https://github.com/fltk/fltk.git
synced 2026-05-22 07:01:34 +08:00
Removed compilation warning.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8061 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+2
-1
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user