[svn:parrot] r45042 - trunk/compilers/imcc

petdance at svn.parrot.org petdance at svn.parrot.org
Thu Mar 18 22:58:28 UTC 2010


Author: petdance
Date: Thu Mar 18 22:58:28 2010
New Revision: 45042
URL: https://trac.parrot.org/parrot/changeset/45042

Log:
removed unused var cur_name.  Thanks, ICC!

Modified:
   trunk/compilers/imcc/pbc.c

Modified: trunk/compilers/imcc/pbc.c
==============================================================================
--- trunk/compilers/imcc/pbc.c	Thu Mar 18 22:54:39 2010	(r45041)
+++ trunk/compilers/imcc/pbc.c	Thu Mar 18 22:58:28 2010	(r45042)
@@ -1193,7 +1193,6 @@
     ASSERT_ARGS(find_outer)
     subs_t      *s;
     PMC         *current;
-    STRING      *cur_name;
     char        *cur_name_str;
     Parrot_Sub_attributes *sub;
     size_t      len;
@@ -1227,7 +1226,6 @@
                    unit->outer->name);
 
     PMC_get_sub(interp, current, sub);
-    cur_name = sub->name;
 
     cur_name_str = Parrot_str_to_cstring(interp,  sub->name);
     if (strlen(cur_name_str) == len


More information about the parrot-commits mailing list