Skip to content
Snippets Groups Projects
Commit bcda2d28 authored by Giovanna Lazzari Miotto's avatar Giovanna Lazzari Miotto :mushroom: Committed by RoccoA97
Browse files

lint: proc: Clarify return

parent b4927221
No related branches found
No related tags found
1 merge request!98Reduce wait time for writing the EoR file
......@@ -156,7 +156,8 @@ OrbitProcessor::FillOrbitMetadata OrbitProcessor::FillOrbit(orbit_trailer *trail
BxMetadata meta{orbit_header.second, bx, orbit};
if (int ret_counts = ProcessBlock(readable_block, writeable_block, meta); ret_counts == -1) {
int ret_counts = ProcessBlock(readable_block, writeable_block, meta);
if (ret_counts == -1) {
continue; // skip bunch crossing
} else {
counts += ret_counts;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment