summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfwscanf.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-24 09:18:32 +0000
committertjr <tjr@FreeBSD.org>2002-09-24 09:18:32 +0000
commit92cc4a5bcb7348a0fd1f0493b6677d76b282ac6d (patch)
tree1aa83a4d4edadeb406de066b63b773de7f7d2708 /lib/libc/stdio/vfwscanf.c
parent7a31c08874a06ca4e5a0b375518b70fef7c57656 (diff)
downloadFreeBSD-src-92cc4a5bcb7348a0fd1f0493b6677d76b282ac6d.zip
FreeBSD-src-92cc4a5bcb7348a0fd1f0493b6677d76b282ac6d.tar.gz
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.
Diffstat (limited to 'lib/libc/stdio/vfwscanf.c')
-rw-r--r--lib/libc/stdio/vfwscanf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libc/stdio/vfwscanf.c b/lib/libc/stdio/vfwscanf.c
index 7c56ebe..2b26da9 100644
--- a/lib/libc/stdio/vfwscanf.c
+++ b/lib/libc/stdio/vfwscanf.c
@@ -344,12 +344,6 @@ literal:
}
/*
- * 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.
*/
OpenPOWER on IntegriCloud