Author: manolo
Date: 2010-12-19 03:30:01 -0800 (Sun, 19 Dec 2010)
New Revision: 8061
Log:
Removed compilation warning.

Modified:
   branches/branch-1.3/src/Fl_cocoa.mm

Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2010-12-19 10:22:59 UTC (rev 8060)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2010-12-19 11:30:01 UTC (rev 8061)
@@ -1358,7 +1358,8 @@
     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];

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to