Skip to content

Commit fcfc89f

Browse files
committed
Add default return
1 parent b539389 commit fcfc89f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGHF/Tasks/pidStudies.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ struct pidStudies {
248248
return -aod::pid_studies::Omega;
249249
}
250250
}
251-
}
251+
}
252+
return aod::pid_studies::NotMatched;
252253
}
253254

254255
void processMC(V0sMCRec const& V0s, aod::V0MCCores const&, CascsMCRec const& cascades,
@@ -257,7 +258,7 @@ struct pidStudies {
257258
if (v0.mK0Short() > massK0Min && v0.mK0Short() < massK0Max ||
258259
v0.mLambda() > massLambdaMin && v0.mLambda() < massLambdaMax ||
259260
v0.mAntiLambda() > massLambdaMin && v0.mAntiLambda() < massLambdaMax) {
260-
int matched = isMatched(v0);
261+
int matched = isMatched(v0);
261262
if(matched != aod::pid_studies::NotMatched) {
262263
fillTree<true>(v0, matched);
263264
}

0 commit comments

Comments
 (0)