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 | 54c47b5408769234373aaa78f9916e3453cb1250 (patch) | |
tree | ae2df7d2db4a51ef2b5922e602fa3d223075c7a6 | |
parent | Cpp cleanliness: redundant assignment to self (diff) | |
download | core-54c47b5408769234373aaa78f9916e3453cb1250.tar.gz core-54c47b5408769234373aaa78f9916e3453cb1250.zip |
tweak this slightly differently
-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 ebef9b106d88..5cbfff593dc3 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 } /* |