Initialize inTerminatorDefined and outTerminatorDefined

This commit is contained in:
Krisztián Löki
2021-03-02 15:47:29 +01:00
parent 75bbb1a252
commit e662ebda04

View File

@ -122,12 +122,11 @@ printProtocol(FILE* file)
StreamCore* StreamCore::first = NULL;
StreamCore::
StreamCore() : activeCommand(end)
StreamCore() : StreamBusInterface::Client(),
next(), streamname(), flags(None), inTerminatorDefined(), outTerminatorDefined(),
activeCommand(end), unparsedInput()
{
businterface = NULL;
flags = None;
next = NULL;
unparsedInput = false;
// add myself to list of streams
StreamCore** pstream;
for (pstream = &first; *pstream; pstream = &(*pstream)->next);