diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-04-28 18:49:52 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-05-22 08:24:19 -0600 |
commit | 2ff6c1911cb086774b2ac1454b813c1e1943f51e (patch) | |
tree | 6b1fd6ac8cdf4cb13911b029abd52d971f4a8267 /utf8.c | |
parent | 3986bb7cb3afd3afe090d21354792863280c5377 (diff) | |
download | perl-2ff6c1911cb086774b2ac1454b813c1e1943f51e.tar.gz |
utf8.c: Skip extraneous function call
This eliminates an intermediate function call by calling the base level
one directly.
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } /* |