summaryrefslogtreecommitdiff
path: root/lib/unicase/u8-totitle.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicase/u8-totitle.c')
-rw-r--r--lib/unicase/u8-totitle.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/unicase/u8-totitle.c b/lib/unicase/u8-totitle.c
index 31862b13..2b0d3cf7 100644
--- a/lib/unicase/u8-totitle.c
+++ b/lib/unicase/u8-totitle.c
@@ -1,5 +1,5 @@
/* Titlecase mapping for UTF-8 strings (locale dependent).
- Copyright (C) 2009-2024 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.
@@ -50,7 +50,6 @@ read_file (FILE *stream)
char *buf = NULL;
int alloc = 0;
int size = 0;
- int count;
while (! feof (stream))
{
@@ -66,7 +65,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))