diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-22 09:46:41 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-29 20:54:49 +0800 |
commit | b22f2577edce6f40d11ab38436aa601bdbaba63b (patch) | |
tree | dc8c2c53c25bdd2197709f287a6c4bd567472c67 /regcomp.c | |
parent | d3eb75f09d0fc0005b3a7e16f3742854fe3899f4 (diff) | |
download | perl-b22f2577edce6f40d11ab38436aa601bdbaba63b.tar.gz |
regcomp.c - simplify logic to eliminate unreached code
We always goto out of this if, so eliminate the unreached code
and also eliminate the useless else block.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -11247,10 +11247,7 @@ S_optimize_regclass(pTHX_ if (*invert) { goto return_OPFAIL; } - else { - goto return_SANY; - } - return op; + goto return_SANY; } } |