summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-06-01 16:42:37 +0300
committerAndras Timar <andras.timar@collabora.com>2018-06-01 16:28:14 +0200
commit57c7e77119cfbbdd3b392009b5c565887768aee7 (patch)
tree098cbfa05d2f96ff8603bb37f78fa806bb40b723
parent1192f68b4011689078c9eb00e20ede180e2a87be (diff)
Fix warning: private field '_isSSL' is not used [-Werror,-Wunused-private-field]libreoffice-6.1.0.0.beta1
Change-Id: Iddf8ac7f0afa85559b03b980a558d9a4fd058473 (cherry picked from commit b7de2865dcb14704c285baf8d33ea793d3840399) Signed-off-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--tools/WebSocketDump.cpp2
1 files changed, 2 insertions, 0 deletions
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>());
}