summaryrefslogtreecommitdiffstats
path: root/sal
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-18 19:56:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-18 21:33:00 +0100
commit53eda2b13861975c541cef1bd385a0afdb3194a2 (patch)
treea529d06e0f3c2cb8cd3590d6ff355efac028bf9a /sal
parentWaE: /* inside comment (diff)
downloadcore-53eda2b13861975c541cef1bd385a0afdb3194a2.tar.gz
core-53eda2b13861975c541cef1bd385a0afdb3194a2.zip
WaE: unused variable Event
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/pipe.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sal/osl/w32/pipe.c b/sal/osl/w32/pipe.c
index 9efe5e91e8b2..6e4daa3b2d6e 100644
--- a/sal/osl/w32/pipe.c
+++ b/sal/osl/w32/pipe.c
@@ -307,7 +307,6 @@ oslPipe SAL_CALL osl_acceptPipe(oslPipe pPipe)
{
oslPipe pAcceptedPipe = NULL;
- HANDLE Event;
OVERLAPPED os;
DWORD nBytesTransfered;
@@ -315,10 +314,8 @@ oslPipe SAL_CALL osl_acceptPipe(oslPipe pPipe)
rtl_uString* temp = NULL;
OSL_ASSERT(pPipe);
+ OSL_ASSERT(pPipe->m_File != INVALID_HANDLE_VALUE);
- OSL_ASSERT (pPipe->m_File != INVALID_HANDLE_VALUE);
-
- Event = pPipe->m_AcceptEvent;
rtl_zeroMemory(&os, sizeof(OVERLAPPED));
os.hEvent = pPipe->m_AcceptEvent;
ResetEvent(pPipe->m_AcceptEvent);