add small clion section
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
2023-02-17 17:05:39 +01:00
parent da898a3f16
commit 6f4c81117b
2 changed files with 18 additions and 2 deletions

View File

@ -261,8 +261,7 @@ void TmStore::fileToPackets(const std::filesystem::path& path, uint32_t unixStam
// CRC check to fully ensure this is a valid TM
ReturnValue_t result = reader.parseDataWithCrcCheck();
if (result == returnvalue::OK) {
ReturnValue_t result =
tmStore.addData(&storeId, fileBuf.data() + currentIdx, reader.getFullPacketLen());
result = tmStore.addData(&storeId, fileBuf.data() + currentIdx, reader.getFullPacketLen());
if (result != returnvalue::OK) {
continue;
}