diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-26 20:24:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-26 20:24:07 +0000 |
commit | 6715da8755246f78bad0eb897629d6244a5de485 (patch) | |
tree | e9e76559c085a7a5639d251bda49b17d20044918 /sal | |
parent | 6919a6909bc11dc286cd6481a866681cb4145f47 (diff) |
tweak this slightly differently
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/socket.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx index b53d25fca..7acf7a54e 100644 --- a/sal/osl/w32/socket.cxx +++ b/sal/osl/w32/socket.cxx @@ -308,9 +308,9 @@ static oslSocketDialupImpl* __osl_createSocketDialupImpl (void) */ static void __osl_initSocketDialupImpl (oslSocketDialupImpl *pImpl) { +#ifdef SOCKET_USE_AUTODIAL if (pImpl) { -#ifdef SOCKET_USE_AUTODIAL HINSTANCE hModule; EnterCriticalSection (&pImpl->m_hMutex); @@ -330,8 +330,10 @@ static void __osl_initSocketDialupImpl (oslSocketDialupImpl *pImpl) } LeaveCriticalSection (&pImpl->m_hMutex); -#endif } +#else + (void)pImpl; +#endif } /* |