Commit 1a582db1 authored by Rémi Duraffort's avatar Rémi Duraffort

network/poll: non initialized variable.

parent 4a5be6fd
...@@ -64,7 +64,7 @@ int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout) ...@@ -64,7 +64,7 @@ int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout)
WSAEventSelect (fds[i].fd, phEvents[i], events); WSAEventSelect (fds[i].fd, phEvents[i], events);
} }
int ret = 0, n; int ret = 0, n = 0;
switch (WaitForMultipleObjectsEx (nfds, phEvents, FALSE, timeout, TRUE)) switch (WaitForMultipleObjectsEx (nfds, phEvents, FALSE, timeout, TRUE))
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment