summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-06-13 08:45:16 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-06-15 12:28:15 -0700
commit118e2215c7570362a701ac5fda6148b6d3542eae (patch)
tree248694801974be0578e4ccc9e8d90fd7db5d4b32 /utf8.c
parent0d856a3ae8873b88b1fb47a0d9520f3db9e27b85 (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 0a6f9ed4f7..510db6c2ff 100644
--- a/utf8.c
+++ b/utf8.c
@@ -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 */
}
}