forked from OSchip/llvm-project
[ORC] Fix uninitialized variable.
Spotted by Dave Blaikie. Thanks Dave!
This commit is contained in:
parent
db6a00daa0
commit
0371049277
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue