[Libreoffice-commits] online.git: tools/WebSocketDump.cpp

Tor Lillqvist tml at collabora.com
Fri Jun 1 13:46:27 UTC 2018


 tools/WebSocketDump.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b7de2865dcb14704c285baf8d33ea793d3840399
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Jun 1 16:42:37 2018 +0300

    Fix warning: private field '_isSSL' is not used [-Werror,-Wunused-private-field]
    
    Change-Id: Iddf8ac7f0afa85559b03b980a558d9a4fd058473

diff --git a/tools/WebSocketDump.cpp b/tools/WebSocketDump.cpp
index 777a2c82e..f76ef302e 100644
--- a/tools/WebSocketDump.cpp
+++ b/tools/WebSocketDump.cpp
@@ -206,6 +206,8 @@ public:
 #if ENABLE_SSL
         if (_isSSL)
             return StreamSocket::create<SslStreamSocket>(physicalFd, false, std::make_shared<ClientRequestDispatcher>());
+#else
+        (void) _isSSL;
 #endif
         return StreamSocket::create<StreamSocket>(physicalFd, false, std::make_shared<ClientRequestDispatcher>());
     }


More information about the Libreoffice-commits mailing list