This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
reginclass: Remove redundant test
authorKarl Williamson <public@khwilliamson.com>
Sun, 31 Oct 2010 19:31:13 +0000 (13:31 -0600)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 31 Oct 2010 23:16:41 +0000 (16:16 -0700)
commite051a21d2458b5ce83206336c2ee2d39013b8d1b
treef6f243ace41117be2381d3f35922821a886012c4
parent7cdde5444c9ad8cccf237ec340ddb54f58ce3cf0
reginclass: Remove redundant test

The previous re-ordering of this function makes it clear that this test
doesn't do anything.  It is testing the charclass bitmap, but that was
already done in the re-ordered block from a previous commit, so if it
didn't succeed there, it won't succeed here.

In fact, trying to understand why this code was here was what led me to
figure out that it wasn't, and that things could be sped up by doing the
reordering.
regexec.c