From 2ff6c1911cb086774b2ac1454b813c1e1943f51e Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sat, 28 Apr 2012 18:49:52 -0600 Subject: [PATCH] utf8.c: Skip extraneous function call This eliminates an intermediate function call by calling the base level one directly. --- utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utf8.c b/utf8.c index 24900b94c5..4328db534f 100644 --- a/utf8.c +++ b/utf8.c @@ -957,7 +957,7 @@ Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen) { PERL_ARGS_ASSERT_UTF8_TO_UVCHR; - return valid_utf8_to_uvchr(s, retlen); + return utf8_to_uvchr_buf(s, s + UTF8_MAXBYTES, retlen); } /*