diff options
Diffstat (limited to 'enc/utf_16le.c')
-rw-r--r-- | enc/utf_16le.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/enc/utf_16le.c b/enc/utf_16le.c index d47a8f6275..c8a1e7a10a 100644 --- a/enc/utf_16le.c +++ b/enc/utf_16le.c @@ -95,17 +95,11 @@ utf16le_is_mbc_newline(const UChar* p, const UChar* end, static OnigCodePoint utf16le_mbc_to_code(const UChar* p, const UChar* end ARG_UNUSED, - int *precise_ret, OnigEncoding enc ARG_UNUSED) { OnigCodePoint code; UChar c0 = *p; UChar c1 = *(p+1); - int ret; - - ret = utf16le_mbc_enc_len(p, end, enc); - if (precise_ret) - *precise_ret = ret; if (UTF16_IS_SURROGATE_FIRST(c1)) { code = ((((c1 - 0xd8) << 2) + ((c0 & 0xc0) >> 6) + 1) << 16) |