From: Enrico Forestieri Date: Sat, 24 Feb 2018 11:48:02 +0000 (+0100) Subject: Fix bug #10927 X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3776 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7e9c4d409160a11b2f72ae57b273bbdf2db2bc40;p=features.git Fix bug #10927 --- diff --git a/src/Server.cpp b/src/Server.cpp index 64e2af15d3..5f5d873f54 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -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