Fixed duplicated assigne
authorRoman Kalashnikov <lunix0x@gmail.com>
Fri, 27 Oct 2017 22:46:06 +0000 (01:46 +0300)
committerGitHub <noreply@github.com>
Fri, 27 Oct 2017 22:46:06 +0000 (01:46 +0300)
winpr/libwinpr/synch/semaphore.c

index aa8f80a..b3de41e 100644 (file)
@@ -129,7 +129,6 @@ HANDLE CreateSemaphoreW(LPSECURITY_ATTRIBUTES lpSemaphoreAttributes, LONG lIniti
                return NULL;
 
        semaphore->pipe_fd[0] = -1;
-       semaphore->pipe_fd[0] = -1;
        semaphore->sem = (winpr_sem_t*) NULL;
        semaphore->ops = &ops;