This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: remove unreached code
authorKarl Williamson <public@khwilliamson.com>
Mon, 27 Dec 2010 04:03:23 +0000 (21:03 -0700)
committerKarl Williamson <public@khwilliamson.com>
Mon, 17 Jan 2011 02:13:23 +0000 (19:13 -0700)
commit60f3bb230e7076deecc9e404bb3198a5fe3cc1e2
treee45e77d58eec9de53f124fb1f6f0e27547439417
parentfdf48794c3c8ae90bcf42651838f38d3fe162a1a
regcomp.c: remove unreached code

This code can never be reached, as the switch statement switches on the
regkind of the op, not the op itself; and the kind of all the locale
regnodes is the base regnode itself.  For example regkind[ALNUML] is ALNUM.
regcomp.c