diff --git a/src/wayland-os.c b/src/wayland-os.c index 5ff43912..8f75976b 100644 --- a/src/wayland-os.c +++ b/src/wayland-os.c @@ -56,7 +56,6 @@ wl_os_socket_cloexec(int domain, int type, int protocol) int fd; #ifdef SOCK_CLOEXEC - errno = 0; fd = socket(domain, type | SOCK_CLOEXEC, protocol); if (fd >= 0) return fd;