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:
tjr 2002-09-24 09:18:32 +00:00
parent 5ca43e8167
commit 96742ff1f2

View File

@ -343,12 +343,6 @@ again: c = *fmt++;
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.