summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-06-28 14:24:59 -0700
committerFather Chrysostomos <sprout@cpan.org>2013-06-28 14:24:59 -0700
commit08aff5359b72aa135ff1425b71ab0f07f28cbfef (patch)
tree896db37d2252bce6919c3f1101726a6c3fe4d6d7
parent7161e5c2c4a093021bc6485ec7708f833fdd3b44 (diff)
downloadperl-08aff5359b72aa135ff1425b71ab0f07f28cbfef.tar.gz
op.c: Remove dummy code from const_sv_xsub
This was added in commit 9cbac4c7 with no explanation. It has been #ifdeffed out since it was added. That commit was supposedly just for compiler warnings. I think this was something else the author was playing with that got combined in the same patch by mistake.
-rw-r--r--op.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/op.c b/op.c
index f96601860e..daef81a020 100644
--- a/op.c
+++ b/op.c
@@ -11980,14 +11980,6 @@ const_sv_xsub(pTHX_ CV* cv)
dVAR;
dXSARGS;
SV *const sv = MUTABLE_SV(XSANY.any_ptr);
- if (items != 0) {
- NOOP;
-#if 0
- /* diag_listed_as: SKIPME */
- Perl_croak(aTHX_ "usage: %s::%s()",
- HvNAME_get(GvSTASH(CvGV(cv))), GvNAME(CvGV(cv)));
-#endif
- }
if (!sv) {
XSRETURN(0);
}