summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2023-03-22 09:50:45 +0100
committerYves Orton <demerphq@gmail.com>2023-03-29 20:54:49 +0800
commitfe67e58303186e966b34e7dbff135b02fbef325e (patch)
tree006888696ef448c4ede9cf05801e3dacdb85f344 /regexec.c
parentb22f2577edce6f40d11ab38436aa601bdbaba63b (diff)
downloadperl-fe67e58303186e966b34e7dbff135b02fbef325e.tar.gz
regexec.c - mark the bottom of a sub as never reached
We used to have a return statement here that picky compilers would complain about.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index 84ca8fd2dd..4fed617b21 100644
--- a/regexec.c
+++ b/regexec.c
@@ -617,8 +617,7 @@ S_isFOO_utf8_lc(pTHX_ const U8 classnum, const U8* character, const U8* e)
return _invlist_contains_cp(PL_XPosix_ptrs[classnum],
utf8_to_uvchr_buf(character, e, NULL));
}
-
- return FALSE; /* Things like CNTRL are always below 256 */
+ NOT_REACHED; /* NOTREACHED */
}
STATIC U8 *