From 38ae251e3a0dbfd4351c85ae13948b3262504ec8 Mon Sep 17 00:00:00 2001 From: helge Date: Thu, 7 Jul 2005 15:51:48 +0000 Subject: [PATCH] fixed init git-svn-id: http://svn.opengroupware.org/SOPE/trunk@870 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-xml/samples/rssparse.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sope-xml/samples/rssparse.m b/sope-xml/samples/rssparse.m index 2371121f..fb41a930 100644 --- a/sope-xml/samples/rssparse.m +++ b/sope-xml/samples/rssparse.m @@ -98,12 +98,12 @@ int main(int argc, char **argv, char **env) { NSAutoreleasePool *pool; + + pool = [[NSAutoreleasePool alloc] init]; #if LIB_FOUNDATION_LIBRARY [NSProcessInfo initializeWithArguments:argv count:argc environment:env]; #endif - pool = [[NSAutoreleasePool alloc] init]; - if ([[[NSProcessInfo processInfo] arguments] count] < 2) { fprintf(stderr, "usage: %s \n", [[[[NSProcessInfo processInfo] arguments] lastObject] cString]); -- 2.39.5