[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp
Miklos Vajna
vmiklos at collabora.co.uk
Mon Feb 26 15:17:31 UTC 2018
wsd/LOOLWSD.cpp | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 56fd92b4eb3fd27d8b9b09753927e425cd510c11
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Mon Feb 26 16:08:36 2018 +0100
fix -Werror,-Wunused-function
Change-Id: Idb339471edf9f80f779b50a124098ab056d1a2fc
diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index c25241a9..47a63f42 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -195,6 +195,7 @@ static int careerSpanMs = 0;
namespace
{
+#if ENABLE_SUPPORT_KEY
inline void shutdownLimitReached(WebSocketHandler& ws)
{
const std::string error = Poco::format(PAYLOAD_UNAVAILABLE_LIMIT_REACHED, LOOLWSD::MaxDocuments, LOOLWSD::MaxConnections);
@@ -213,6 +214,7 @@ inline void shutdownLimitReached(WebSocketHandler& ws)
LOG_ERR("Error while shuting down socket on reaching limit: " << ex.what());
}
}
+#endif
inline void infoLimitReached(const WebSocketHandler* ws)
{
More information about the Libreoffice-commits
mailing list