summaryrefslogtreecommitdiff
path: root/lib/unicase/u8-tolower.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicase/u8-tolower.c')
-rw-r--r--lib/unicase/u8-tolower.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/unicase/u8-tolower.c b/lib/unicase/u8-tolower.c
index 352a0ef9..cc4bc036 100644
--- a/lib/unicase/u8-tolower.c
+++ b/lib/unicase/u8-tolower.c
@@ -1,5 +1,5 @@
/* Lowercase mapping for UTF-8 strings (locale dependent).
- Copyright (C) 2009-2025 Free Software Foundation, Inc.
+ Copyright (C) 2009-2026 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2009.
This file is free software.
@@ -63,7 +63,6 @@ read_file (FILE *stream)
char *buf = NULL;
int alloc = 0;
int size = 0;
- int count;
while (! feof (stream))
{
@@ -79,7 +78,7 @@ read_file (FILE *stream)
exit (1);
}
}
- count = fread (buf + size, 1, BUFSIZE, stream);
+ int count = fread (buf + size, 1, BUFSIZE, stream);
if (count == 0)
{
if (ferror (stream))