]> git.lyx.org Git - features.git/commitdiff
Fix bug #10927
authorEnrico Forestieri <forenr@lyx.org>
Sat, 24 Feb 2018 11:48:02 +0000 (12:48 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 24 Feb 2018 11:48:02 +0000 (12:48 +0100)
src/Server.cpp

index 64e2af15d3aab0645a3afd45d43ad6e1825152ff..5f5d873f54d79e95d3534b4329bd931bf3fddd1f 100644 (file)
@@ -199,8 +199,8 @@ bool LyXComm::pipeServer()
        LYXERR(Debug::LYXSERVER, "LyXComm: Connection established");
        ready_ = true;
        outbuf_.erase();
-       DWORD status;
-       bool success;
+       DWORD status = 0;
+       bool success = false;
 
        while (!checkStopServer()) {
                // Indefinitely wait for the completion of an overlapped