diff options
Diffstat (limited to 'lib/unistr/u16-next.c')
| -rw-r--r-- | lib/unistr/u16-next.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/unistr/u16-next.c b/lib/unistr/u16-next.c index d74ae224..e2cc035b 100644 --- a/lib/unistr/u16-next.c +++ b/lib/unistr/u16-next.c @@ -1,5 +1,5 @@ /* Iterate over next character in UTF-16 string. - Copyright (C) 2002, 2006, 2009-2025 Free Software Foundation, Inc. + Copyright (C) 2002, 2006, 2009-2026 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2002. This file is free software. @@ -34,9 +34,7 @@ const uint16_t * u16_next (ucs4_t *puc, const uint16_t *s) { - int count; - - count = u16_strmbtouc (puc, s); + int count = u16_strmbtouc (puc, s); if (count > 0) return s + count; else |
