[Libreoffice-commits] core.git: sal/osl

Jochen Nitschke j.nitschke+logerrit at ok.de
Mon Nov 21 06:22:08 UTC 2016


 sal/osl/w32/socket.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7341b30b4d426164191234f2f68d6ab14fde44a9
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun Nov 20 12:03:27 2016 +0100

    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 at collabora.co.uk>
    Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sal/osl/w32/socket.cxx b/sal/osl/w32/socket.cxx
index 1b2bc6d..b03e2b3 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
 }
 
 /*****************************************************************************/


More information about the Libreoffice-commits mailing list