loolwsd/LOOLBroker.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 343e9c468dd24185f12b9f52a043a898d09131d8
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Tue Apr 5 14:33:40 2016 +0200

    loolwsd: fix -Werror,-Wsometimes-uninitialized

diff --git a/loolwsd/LOOLBroker.cpp b/loolwsd/LOOLBroker.cpp
index 318548a..1656bbb 100644
--- a/loolwsd/LOOLBroker.cpp
+++ b/loolwsd/LOOLBroker.cpp
@@ -1224,7 +1224,7 @@ static int createLibreOfficeKit(const std::string& 
childRoot,
                                 const std::string& loTemplate,
                                 const std::string& loSubPath)
 {
-    Process::PID childPID;
+    Process::PID childPID = 0;
 
     const Path pipePath = Path::forDirectory(childRoot + Path::separator() + 
FIFO_PATH);
     const std::string pipeKit = Path(pipePath, BROKER_PREFIX + 
std::to_string(ChildCounter++) + BROKER_SUFIX).toString();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to