diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-06-28 14:24:59 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-06-28 14:24:59 -0700 |
commit | 08aff5359b72aa135ff1425b71ab0f07f28cbfef (patch) | |
tree | 896db37d2252bce6919c3f1101726a6c3fe4d6d7 | |
parent | 7161e5c2c4a093021bc6485ec7708f833fdd3b44 (diff) | |
download | perl-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.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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); } |