This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Reorder if to silence valgrind
authorKarl Williamson <public@khwilliamson.com>
Fri, 18 Mar 2011 16:24:04 +0000 (10:24 -0600)
committerKarl Williamson <public@khwilliamson.com>
Fri, 18 Mar 2011 16:36:01 +0000 (10:36 -0600)
commit646253b5bb64d062851d102e7c6847ce5c5d3e18
treeb9aed4f66da8181c5ece9b0de79d0b28e3515bff
parentdd58aee1a749e6188a04cac2e4ba58a7004c1ec1
regcomp.c: Reorder if to silence valgrind

It is better to test that a pointer is in bounds before dereferencing it
even though in this case it doesn't lead to an actual error.
regcomp.c