Skip to content

Commit 1e12da9

Browse files
committed
Fix uninitialised variable warning
1 parent 993ab36 commit 1e12da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/TableProducer/derivedDataCreatorBplusToD0Pi.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ struct HfDerivedDataCreatorBplusToD0Pi {
205205
sigmas[HfProngSpecies::Kaon][HfProngSpecies::Kaon][2]);
206206
}
207207
if (fillCandidateParD0E) {
208-
float invMassD0;
208+
float invMassD0 = 0.;
209209
if (candFlag == 0) {
210210
invMassD0 = HfHelper::invMassD0ToPiK(prongCharm);
211211
} else if (candFlag == 1) {

0 commit comments

Comments
 (0)