[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp

Miklos Vajna vmiklos at collabora.co.uk
Wed Feb 8 07:29:36 UTC 2017


 wsd/LOOLWSD.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 836af6724f55b1b57b49c25ed8b12e5119c7a2e4
Author: Miklos Vajna <vmiklos at 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.


More information about the Libreoffice-commits mailing list