From 67a97612e6abcc658b519188a862f0b9852199a1 Mon Sep 17 00:00:00 2001 From: Roman Kalashnikov Date: Sat, 28 Oct 2017 01:46:06 +0300 Subject: [PATCH] Fixed duplicated assigne --- winpr/libwinpr/synch/semaphore.c | 1 - 1 file changed, 1 deletion(-) diff --git a/winpr/libwinpr/synch/semaphore.c b/winpr/libwinpr/synch/semaphore.c index aa8f80a..b3de41e 100644 --- a/winpr/libwinpr/synch/semaphore.c +++ b/winpr/libwinpr/synch/semaphore.c @@ -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; -- 2.7.4