Skip to content

Commit 7c011b8

Browse files
authored
[Common] Fix compilation warnings (AliceO2Group#8914)
1 parent 30cda22 commit 7c011b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Common/Core/RecoDecay.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ struct RecoDecay {
10771077
auto mother = particlesMC.rawIteratorAt(particleMother.mothersIds().front() - particlesMC.offset());
10781078
auto PDGParticleIMother = std::abs(mother.pdgCode()); // PDG code of the mother
10791079
if (PDGParticleIMother < 9 || (PDGParticleIMother > 20 && PDGParticleIMother < 38)) {
1080-
auto PDGPaticle = std::abs(particleMother.pdgCode());
1080+
// auto PDGPaticle = std::abs(particleMother.pdgCode());
10811081
if (
10821082
(PDGParticleIMother / 100 == 5 || // b mesons
10831083
PDGParticleIMother / 1000 == 5) // b baryons
@@ -1100,7 +1100,7 @@ struct RecoDecay {
11001100
}
11011101
auto mother = particlesMC.rawIteratorAt(iMother - particlesMC.offset());
11021102
// Check status code
1103-
auto motherStatusCode = std::abs(mother.getGenStatusCode());
1103+
// auto motherStatusCode = std::abs(mother.getGenStatusCode());
11041104
auto PDGParticleIMother = std::abs(mother.pdgCode()); // PDG code of the mother
11051105
// Check mother's PDG code.
11061106
// printf("getMother: ");

Common/TableProducer/match-mft-mch-data.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ struct match_mft_mch_data {
566566
return true;
567567
}
568568

569-
void process(aod::Collisions const& collisions, ExtBCs const& ebcs,
569+
void process(aod::Collisions const&, ExtBCs const& ebcs,
570570
MyMuons const& fwdtracks, MyMFTs const& mfttracks)
571571
{
572572
initCCDB(ebcs.begin());

0 commit comments

Comments
 (0)