diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-06-13 08:45:16 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-06-15 12:28:15 -0700 |
commit | 118e2215c7570362a701ac5fda6148b6d3542eae (patch) | |
tree | 248694801974be0578e4ccc9e8d90fd7db5d4b32 /utf8.c | |
parent | 0d856a3ae8873b88b1fb47a0d9520f3db9e27b85 (diff) | |
download | perl-118e2215c7570362a701ac5fda6148b6d3542eae.tar.gz |
Use assertions for /* NOT REACHED */
to make sure it really is never reached.
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1619,7 +1619,7 @@ Perl__to_upper_title_latin1(pTHX_ const U8 c, U8* p, STRLEN *lenp, const char S_ return 'S'; default: Perl_croak(aTHX_ "panic: to_upper_title_latin1 did not expect '%c' to map to '%c'", c, LATIN_SMALL_LETTER_Y_WITH_DIAERESIS); - /* NOTREACHED */ + assert(0); /* NOTREACHED */ } } |