summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-06-01 16:42:37 +0300
committerTor Lillqvist <tml@collabora.com>2018-06-01 16:42:37 +0300
commitb7de2865dcb14704c285baf8d33ea793d3840399 (patch)
treebdeeda5b6221492b3f90cf78a72ff4dd44242e24 /tools
parentCleanup all old files in the cache, not just png's. (diff)
downloadonline-b7de2865dcb14704c285baf8d33ea793d3840399.tar.gz
online-b7de2865dcb14704c285baf8d33ea793d3840399.zip
Fix warning: private field '_isSSL' is not used [-Werror,-Wunused-private-field]
Change-Id: Iddf8ac7f0afa85559b03b980a558d9a4fd058473
Diffstat (limited to 'tools')
-rw-r--r--tools/WebSocketDump.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/WebSocketDump.cpp b/tools/WebSocketDump.cpp
index 777a2c82e8..f76ef302e2 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>());
}