diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-18 19:56:09 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-18 21:33:00 +0100 |
commit | 53eda2b13861975c541cef1bd385a0afdb3194a2 (patch) | |
tree | a529d06e0f3c2cb8cd3590d6ff355efac028bf9a /sal/osl/w32/pipe.c | |
parent | b94366896f7c73bcd1fb04b6ca173bdb62005274 (diff) |
WaE: unused variable Event
Diffstat (limited to 'sal/osl/w32/pipe.c')
-rw-r--r-- | sal/osl/w32/pipe.c | 5 |
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); |