summaryrefslogtreecommitdiff
path: root/tests/unistr/test-u8-mbtouc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistr/test-u8-mbtouc.c')
-rw-r--r--tests/unistr/test-u8-mbtouc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unistr/test-u8-mbtouc.c b/tests/unistr/test-u8-mbtouc.c
index 62a2258e..bd59f9d7 100644
--- a/tests/unistr/test-u8-mbtouc.c
+++ b/tests/unistr/test-u8-mbtouc.c
@@ -1,5 +1,5 @@
/* Test of u8_mbtouc() function.
- Copyright (C) 2010-2025 Free Software Foundation, Inc.
+ Copyright (C) 2010-2026 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -78,10 +78,9 @@ test_safe_function (int (*my_u8_mbtouc) (ucs4_t *, const uint8_t *, size_t))
}
/* 3.2. Lonely start characters. */
{
- ucs4_t c;
uint8_t input[2];
- for (c = 0xC0; c <= 0xFF; c++)
+ for (ucs4_t c = 0xC0; c <= 0xFF; c++)
{
input[0] = c;
input[1] = ' ';