[ORC] Fix uninitialized variable.

Spotted by Dave Blaikie. Thanks Dave!
This commit is contained in:
Lang Hames 2021-09-26 09:40:15 +10:00
parent db6a00daa0
commit 0371049277
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ void FDSimpleRemoteEPCTransport::listenLoop() {
char HeaderBuffer[FDMsgHeader::Size];
// Read the header buffer.
{
bool IsEOF;
bool IsEOF = false;
if (auto Err2 = readBytes(HeaderBuffer, FDMsgHeader::Size, &IsEOF)) {
Err = joinErrors(std::move(Err), std::move(Err2));
break;