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:
parent
5ca43e8167
commit
96742ff1f2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user