[svn:parrot] r44458 - branches/boehm_gc_2/src

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Feb 24 20:21:07 UTC 2010


Author: bacek
Date: Wed Feb 24 20:21:06 2010
New Revision: 44458
URL: https://trac.parrot.org/parrot/changeset/44458

Log:
Reorder variable declaraions to prevent compiler warnings. Don't call GC_init. It's useless.

Modified:
   branches/boehm_gc_2/src/main.c

Modified: branches/boehm_gc_2/src/main.c
==============================================================================
--- branches/boehm_gc_2/src/main.c	Wed Feb 24 20:20:49 2010	(r44457)
+++ branches/boehm_gc_2/src/main.c	Wed Feb 24 20:21:06 2010	(r44458)
@@ -108,15 +108,14 @@
     Interp     *interp;
     int         status;
 
+    Parrot_Run_core_t  core  = PARROT_SLOW_CORE;
+    Parrot_trace_flags trace = PARROT_NO_TRACE;
+
 #ifdef PARROT_HAS_BOEHM_GC
-    GC_init();
     /* To stop affecting other GC */
     GC_disable();
 #endif
 
-    Parrot_Run_core_t  core  = PARROT_SLOW_CORE;
-    Parrot_trace_flags trace = PARROT_NO_TRACE;
-
     /* internationalization setup */
     /* setlocale(LC_ALL, ""); */
     PARROT_BINDTEXTDOMAIN(PACKAGE, LOCALEDIR);


More information about the parrot-commits mailing list