diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-11-20 12:03:27 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-21 06:21:44 +0000 |
commit | 7341b30b4d426164191234f2f68d6ab14fde44a9 (patch) | |
tree | 37ca32799159f0d13eac694e39c4818d46079046 /sal/osl | |
parent | 04f262ace019dc87bb52f32c42107a8f2b348d89 (diff) |
fix for 'warning C4702: unreachable code'
on windows vista and higher only
Change-Id: I19cc63ad7e96b58fa8eb341801f5ad55260abf85
Reviewed-on: https://gerrit.libreoffice.org/31021
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/w32/socket.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx index 1b2bc6d1eac9..b03e2b30b815 100644 --- a/sal/osl/w32/socket.cxx +++ b/sal/osl/w32/socket.cxx @@ -700,8 +700,8 @@ oslHostAddr SAL_CALL osl_createHostAddrByName(rtl_uString *strHostname) { SAL_INFO("sal.osl", "GetAddrInfoW failed: " << WSAGetLastError()); } -#endif // _WIN32_WINNT return nullptr; +#endif // _WIN32_WINNT } /*****************************************************************************/ |