summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_windows.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler_windows.cc')
-rw-r--r--winsup/cygwin/fhandler_windows.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_windows.cc b/winsup/cygwin/fhandler_windows.cc
index 0fbba7120..a7848bc07 100644
--- a/winsup/cygwin/fhandler_windows.cc
+++ b/winsup/cygwin/fhandler_windows.cc
@@ -95,8 +95,6 @@ fhandler_windows::read (void *buf, size_t& len)
if ((ssize_t) len == -1)
__seterrno ();
- else
- set_errno (0);
return;
}