aboutsummaryrefslogtreecommitdiff
path: root/libio/iovsscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iovsscanf.c')
-rw-r--r--libio/iovsscanf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libio/iovsscanf.c b/libio/iovsscanf.c
index 0674a4b164..d7fb8c532e 100644
--- a/libio/iovsscanf.c
+++ b/libio/iovsscanf.c
@@ -44,8 +44,6 @@ _IO_vsscanf (string, format, args)
_IO_str_init_static (&sf._sbf._f, (char*)string, 0, NULL);
_IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, &sf);
_IO_flockfile (&sf._sbf._f);
- errno = 0; /* Necessary since _IO_vfscanf tests for errno but the
- string I/O functions don't set it. */
ret = _IO_vfscanf (&sf._sbf._f, format, args, NULL);
_IO_cleanup_region_end (1);
return ret;