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

jonathan at svn.parrot.org jonathan at svn.parrot.org
Thu Apr 9 16:46:32 UTC 2009


Author: jonathan
Date: Thu Apr  9 16:46:31 2009
New Revision: 37996
URL: https://trac.parrot.org/parrot/changeset/37996

Log:
[core] Remove pointless condition spotted by Coke++.

Modified:
   trunk/src/pmc/sub.pmc

Modified: trunk/src/pmc/sub.pmc
==============================================================================
--- trunk/src/pmc/sub.pmc	Thu Apr  9 05:38:30 2009	(r37995)
+++ trunk/src/pmc/sub.pmc	Thu Apr  9 16:46:31 2009	(r37996)
@@ -407,8 +407,7 @@
             sub->name = Parrot_str_copy(INTERP, sub->name);
 
         /* Be sure not to share arg_info. */
-        if (dest_sub->arg_info)
-            dest_sub->arg_info = NULL;
+        dest_sub->arg_info = NULL;
 
         if (sub->ctx)
             Parrot_context_ref(INTERP, sub->ctx);


More information about the parrot-commits mailing list