summaryrefslogtreecommitdiff
path: root/libusb/os/windows_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libusb/os/windows_compat.c')
-rw-r--r--libusb/os/windows_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/os/windows_compat.c b/libusb/os/windows_compat.c
index 179e178..5ce7a88 100644
--- a/libusb/os/windows_compat.c
+++ b/libusb/os/windows_compat.c
@@ -622,10 +622,10 @@ int usbi_poll(struct pollfd *fds, unsigned int nfds, int timeout)
HANDLE *handles_to_wait_on;
int *handle_to_index;
DWORD nb_handles_to_wait_on = 0;
- DWORD nb_extra_handles = 0;
DWORD ret;
#if defined(DYNAMIC_FDS)
+ DWORD nb_extra_handles = 0;
unsigned j;
// To address the possibility of missing new fds between the time the new