This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Use an equivalent 'if' condition
authorKarl Williamson <khw@cpan.org>
Sun, 14 Oct 2018 22:02:09 +0000 (16:02 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 20 Oct 2018 06:09:55 +0000 (00:09 -0600)
commite3f47c2f4d2eacb0570803023a6dd9c010aac7f4
tree6d41e53153362f1a87889cf7b45683cc5bf29168
parent37e2eb2b2472e07aba322b6414447985237e34d4
regcomp.c: Use an equivalent 'if' condition

By inspection of the code, I see that this 'if' won't get executed
unless the variable is non-null.  The function whose return sets it
will raise an error if it would otherwise return NULL unexpectedly.
regcomp.c