[Libreoffice-commits] online.git: loolwsd/LOOLBroker.cpp
Miklos Vajna
vmiklos at collabora.co.uk
Tue Apr 5 12:34:17 UTC 2016
loolwsd/LOOLBroker.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 343e9c468dd24185f12b9f52a043a898d09131d8
Author: Miklos Vajna <vmiklos at 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();
More information about the Libreoffice-commits
mailing list