mgetgroups: reduce duplicate listings
[gnulib.git] / lib / w32sock.h
index 0622985..8705f8f 100644 (file)
@@ -32,7 +32,6 @@ static inline void
 set_winsock_errno (void)
 {
   int err = WSAGetLastError ();
-  WSASetLastError (0);
 
   /* Map some WSAE* errors to the runtime library's error codes.  */
   switch (err)