Skip to content

[Common] Fix problems found by Cppcheck #22996

[Common] Fix problems found by Cppcheck

[Common] Fix problems found by Cppcheck #22996

Triggered via pull request January 15, 2026 08:10
@vkuceravkucera
synchronize #14178
Status Failure
Total duration 15s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
12s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
[pdg/explicit-code]: Common/TableProducer/selectionStudyTable.cxx#L105
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: Common/TableProducer/selectionStudyTable.cxx#L102
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: Common/TableProducer/selectionStudyTable.cxx#L99
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: Common/TableProducer/selectionStudyTable.cxx#L96
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: Common/TableProducer/selectionStudyTable.cxx#L93
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: Common/TableProducer/selectionStudyTable.cxx#L90
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: Common/TableProducer/selectionStudyTable.cxx#L87
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: Common/TableProducer/selectionStudyTable.cxx#L79
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: Common/TableProducer/selectionStudyTable.cxx#L76
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[std-prefix]: Common/TableProducer/PID/pidTPCBase.h#L51
Use std:: prefix for names from the std namespace.
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
O2 linter
Exceptionally, you can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test and parentheses with a reason for the exception.