Remove an unneeded call to _sfrefill() that was missed in the conversion

from vfscanf() to vfwscanf(). It doesn't hurt to have it there, but it's
redundant since __fgetwc() will refill the buffer if it needs to.
This commit is contained in:
Tim J. Robbins 2002-09-24 09:18:32 +00:00
parent 044af7c357
commit 89265cb899

View file

@ -343,12 +343,6 @@ literal:
return (EOF);
}
/*
* We have a conversion that requires input.
*/
if (fp->_r <= 0 && __srefill(fp))
goto input_failure;
/*
* Consume leading white space, except for formats
* that suppress this.