libfreerdp-core: llvm said fd may not be set
authorAlam Arias <Alam.GBC@gmail.com>
Mon, 17 Dec 2012 04:03:00 +0000 (23:03 -0500)
committerAlam Arias <Alam.GBC@gmail.com>
Mon, 17 Dec 2012 04:03:00 +0000 (23:03 -0500)
winpr/libwinpr/synch/wait.c

index 81f5186..2d34848 100644 (file)
@@ -151,7 +151,7 @@ DWORD WaitForSingleObjectEx(HANDLE hHandle, DWORD dwMilliseconds, BOOL bAlertabl
 
 DWORD WaitForMultipleObjects(DWORD nCount, const HANDLE* lpHandles, BOOL bWaitAll, DWORD dwMilliseconds)
 {
-       int fd;
+       int fd = -1;
        int maxfd;
        int index;
        int status;