We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 100e65c commit c1fdfe2Copy full SHA for c1fdfe2
1 file changed
modules/mqtt_streaming_module/src/group_signal_shared_ts_handler.cpp
@@ -204,7 +204,7 @@ TimestampTickStruct GroupSignalSharedTsHandler::domainToTs(const MultiReaderStat
204
205
bool GroupSignalSharedTsHandler::processEvents(const MultiReaderStatusPtr& status)
206
{
207
- bool result;
+ bool result = false;
208
if (status.getReadStatus() == ReadStatus::Event)
209
210
bool descChanged = std::any_of(status.getEventPackets().begin(),
@@ -217,7 +217,7 @@ bool GroupSignalSharedTsHandler::processEvents(const MultiReaderStatusPtr& statu
217
result = !firstDescriptorChange && descChanged;
218
firstDescriptorChange &= !descChanged;
219
}
220
- result &= !status.getValid();
+ result |= !status.getValid();
221
return result;
222
223
0 commit comments