develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r33926 - trunk/src

From:
Whiteknight
Date:
December 15, 2008 11:20
Subject:
[svn:parrot] r33926 - trunk/src
Message ID:
20081215192047.165EBCBA12@x12.develooper.com
Author: Whiteknight
Date: Mon Dec 15 11:20:46 2008
New Revision: 33926

Modified:
   trunk/src/multidispatch.c

Log:
[Core] remove unreachable code from src/multidispatch.c:Parrot_mmd_find_multi_from_sig_obj()

Modified: trunk/src/multidispatch.c
==============================================================================
--- trunk/src/multidispatch.c	(original)
+++ trunk/src/multidispatch.c	Mon Dec 15 11:20:46 2008
@@ -313,17 +313,6 @@
     mmd_search_global(interp, name, candidate_list);
 
     return Parrot_mmd_sort_manhattan_by_sig_pmc(interp, candidate_list, invoke_sig);
-
-    if (PMC_IS_NULL(candidate_list))
-        return PMCNULL;
-
-#if MMD_DEBUG
-    fprintf(stderr, "there were '%d' elements in the candidate_list\n",
-            (int) VTABLE_elements(interp, candidate_list));
-#endif
-
-    return VTABLE_get_pmc_keyed_int(interp, candidate_list, 0);
-
 }
 
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About