diff --git a/src/arvnetwork.c b/src/arvnetwork.c index e3e1c0936..9e9b38d1d 100644 --- a/src/arvnetwork.c +++ b/src/arvnetwork.c @@ -335,10 +335,9 @@ arv_gpollfd_prepare_all (GPollFD *fds, guint nfds){ void arv_gpollfd_clear_one (GPollFD *fd, GSocket* socket){ WSANETWORKEVENTS wsaNetEvents; - int wsaRes; - wsaRes = WSAEnumNetworkEvents (g_socket_get_fd(socket), (WSAEVENT) fd->fd, &wsaNetEvents); /* TODO: check return value, check wsaNetEvents for errors */ + WSAEnumNetworkEvents (g_socket_get_fd(socket), (WSAEVENT) fd->fd, &wsaNetEvents); } void