utf8.c: Skip extraneous function call

This eliminates an intermediate function call by calling the base level
one directly.
This commit is contained in:
Karl Williamson 2012-04-28 18:49:52 -06:00
parent 3986bb7cb3
commit 2ff6c1911c

2
utf8.c
View File

@ -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);
}
/*