[svn:parrot] r38487 - trunk/src/pmc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Tue May 5 07:24:51 UTC 2009


Author: chromatic
Date: Tue May  5 07:24:50 2009
New Revision: 38487
URL: https://trac.parrot.org/parrot/changeset/38487

Log:
[PMC] Fixed a compiler warning introduced by accident in r38477.

Modified:
   trunk/src/pmc/class.pmc

Modified: trunk/src/pmc/class.pmc
==============================================================================
--- trunk/src/pmc/class.pmc	Tue May  5 05:58:01 2009	(r38486)
+++ trunk/src/pmc/class.pmc	Tue May  5 07:24:50 2009	(r38487)
@@ -416,11 +416,11 @@
         return _class->all_parents;
 
     if (num_parents == 1) {
-            const STRING *ap         = CONST_STRING(interp, "all_parents");
-            PMC          *parent     = VTABLE_get_pmc_keyed_int(interp,
-                                            _class->parents, 0);
-            PMC          *parent_mro = VTABLE_inspect_str(interp, parent, ap);
-            PMC          *mro        = VTABLE_clone(interp, parent_mro);
+            STRING *ap         = CONST_STRING(interp, "all_parents");
+            PMC    *parent     = VTABLE_get_pmc_keyed_int(interp,
+                                    _class->parents, 0);
+            PMC    *parent_mro = VTABLE_inspect_str(interp, parent, ap);
+            PMC    *mro        = VTABLE_clone(interp, parent_mro);
             VTABLE_unshift_pmc(interp, mro, SELF);
             return mro;
     }


More information about the parrot-commits mailing list