From 89265cb89904338a261a71788f567b16645fb68d Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Tue, 24 Sep 2002 09:18:32 +0000 Subject: [PATCH] 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. --- lib/libc/stdio/vfwscanf.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/libc/stdio/vfwscanf.c b/lib/libc/stdio/vfwscanf.c index 7c56ebea6a7..2b26da9e50b 100644 --- a/lib/libc/stdio/vfwscanf.c +++ b/lib/libc/stdio/vfwscanf.c @@ -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.