wsd/LOOLWSD.cpp | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 836af6724f55b1b57b49c25ed8b12e5119c7a2e4 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Wed Feb 8 08:28:57 2017 +0100
wsd: fix -Werror,-Wunused-function Change-Id: I957440a2ac78f89d2f74aad66813b1ef56b5b532 diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index 35a724b..5d7dd4e 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -405,6 +405,7 @@ static int rebalanceChildren(int balance) return 0; } +#ifndef KIT_IN_PROCESS /// Called on startup only. static void preForkChildren(std::unique_lock<std::mutex>& lock) { @@ -432,6 +433,7 @@ static void preForkChildren(std::unique_lock<std::mutex>& lock) throw std::runtime_error(msg); } } +#endif /// Proactively spawn children processes /// to load documents with alacrity. _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits