Skip to content

Commit 6b4f26c

Browse files
committed
warnings fixed
1 parent c5d3bfa commit 6b4f26c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

PWGDQ/TableProducer/tableMakerJpsiHf.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
/// \author Fabrizio Grosa <fabrizio.grosa@cern.ch>, CERN
1616

1717
#include "PWGDQ/Core/AnalysisCompositeCut.h"
18-
#include "PWGDQ/Core/AnalysisCut.h"
1918
#include "PWGDQ/Core/CutsLibrary.h"
2019
#include "PWGDQ/Core/HistogramManager.h"
2120
#include "PWGDQ/Core/HistogramsLibrary.h"
@@ -320,7 +319,7 @@ struct tableMakerJpsiHf {
320319
}
321320
}
322321

323-
double rapDmeson;
322+
double rapDmeson = -999.;
324323
if constexpr (TDmeson == DmesonType::D0) {
325324
rapDmeson = hfHelper.yD0(dmeson);
326325
} else if constexpr (TDmeson == DmesonType::Dplus) {
@@ -390,7 +389,7 @@ struct tableMakerJpsiHf {
390389
isDmesonFilled = true;
391390
}
392391

393-
double rapDmeson;
392+
double rapDmeson = -999.;
394393
if constexpr (TDmeson == DmesonType::D0) {
395394
rapDmeson = hfHelper.yD0(dmeson);
396395
} else if constexpr (TDmeson == DmesonType::Dplus) {

0 commit comments

Comments
 (0)