[svn:parrot] r45033 - trunk/src/runcore

petdance at svn.parrot.org petdance at svn.parrot.org
Thu Mar 18 21:55:29 UTC 2010


Author: petdance
Date: Thu Mar 18 21:55:27 2010
New Revision: 45033
URL: https://trac.parrot.org/parrot/changeset/45033

Log:
removed unused var n_pics

Modified:
   trunk/src/runcore/cores.c

Modified: trunk/src/runcore/cores.c
==============================================================================
--- trunk/src/runcore/cores.c	Thu Mar 18 21:37:03 2010	(r45032)
+++ trunk/src/runcore/cores.c	Thu Mar 18 21:55:27 2010	(r45033)
@@ -998,10 +998,10 @@
         void        *pred_func;
         opcode_t    *pc = interp->code->base.data;
         const size_t N  = interp->code->base.size;
-        size_t       i, n_pics;
+        size_t       i;
 
-        void **temp = (void **)Parrot_memalign_if_possible(256,
-                N * sizeof (void *));
+        void ** const temp =
+            (void **)Parrot_memalign_if_possible(256, N * sizeof (void *));
         /* calc and remember pred_offset */
         CONTEXT(interp)->pred_offset = pc - (opcode_t *)temp;
 
@@ -1015,7 +1015,7 @@
                     interp->op_lib->op_func_table)[CORE_OPS_prederef__];
         }
 
-        for (i = n_pics = 0; i < N;) {
+        for (i = 0; i < N;) {
             op_info_t * const opinfo = &interp->op_info_table[*pc];
             size_t            n      = opinfo->op_count;
 


More information about the parrot-commits mailing list