Skip to content

Commit ee591c4

Browse files
committed
linter
1 parent dc6b7c4 commit ee591c4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎PWGCF/GenericFramework/Tasks/flowGenericFramework.cxx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,10 +1252,12 @@ struct FlowGenericFramework {
12521252
auto* weights = ccdb->getForTimeStamp<GFWWeights>(path, timestamp);
12531253
if (weights == nullptr) {
12541254
LOGF(fatal, "Could not load acceptance weights from %s", path.c_str());
1255+
return;
12551256
}
12561257
auto* clonedWeights = dynamic_cast<GFWWeights*>(weights->Clone());
12571258
if (clonedWeights == nullptr) {
12581259
LOGF(fatal, "Could not clone acceptance weights from %s", path.c_str());
1260+
return;
12591261
}
12601262
acceptanceWeights.emplace_back(clonedWeights);
12611263
};

0 commit comments

Comments
 (0)