diff options
author | Father Chrysostomos <sprout@cpan.org> | 2016-08-12 14:35:33 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2016-08-12 14:35:33 -0700 |
commit | 06ccdc0cc07d34934eaa2b248a061504e584c780 (patch) | |
tree | 50de75973441a64f4f80ee387c0104d4c62e4bdc /universal.c | |
parent | bdb0ae96bbbe0efcef6147fd6497bd49971334ed (diff) | |
download | perl-06ccdc0cc07d34934eaa2b248a061504e584c780.tar.gz |
universal.c:XS_re_regnames_count: redundant code
If we croak when items != 0, then SP -= items is a no-op, as is PUTBACK.
Diffstat (limited to 'universal.c')
-rw-r--r-- | universal.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/universal.c b/universal.c index 0fcaea7701..39745d98c4 100644 --- a/universal.c +++ b/universal.c @@ -854,9 +854,6 @@ XS(XS_re_regnames_count) if (items != 0) croak_xs_usage(cv, ""); - SP -= items; - PUTBACK; - if (!rx) XSRETURN_UNDEF; |