diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-06-01 16:42:37 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-06-01 16:42:37 +0300 |
commit | b7de2865dcb14704c285baf8d33ea793d3840399 (patch) | |
tree | bdeeda5b6221492b3f90cf78a72ff4dd44242e24 /tools | |
parent | Cleanup all old files in the cache, not just png's. (diff) | |
download | online-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.cpp | 2 |
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>()); } |