mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function by letting the later modify the variable computing the total directly. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear it is not used. * wcsmbs/wctoc.c: Likewise.
This commit is contained in:
@ -229,16 +229,16 @@ FUNCTION_NAME (struct gconv_step *step, struct gconv_step_data *data,
|
||||
char *outend = data->outbufend;
|
||||
char *outptr;
|
||||
|
||||
/* This variable is used to count the number of characters we
|
||||
actually converted. */
|
||||
size_t converted = 0;
|
||||
|
||||
#ifdef PREPARE_LOOP
|
||||
PREPARE_LOOP
|
||||
#endif
|
||||
|
||||
do
|
||||
{
|
||||
/* This variable is used to count the number of characters we
|
||||
actually converted. */
|
||||
size_t converted = 0;
|
||||
|
||||
/* Remember the start value for this round. */
|
||||
inptr = *inbuf;
|
||||
/* The outbuf buffer is empty. */
|
||||
|
Reference in New Issue
Block a user