[Common] Fix problems found by Cppcheck #14178
+38
−44
Merged
Annotations
10 errors and 2 notices
|
Run tests:
Common/TableProducer/selectionStudyTable.cxx#L105
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
Common/TableProducer/selectionStudyTable.cxx#L102
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
Common/TableProducer/selectionStudyTable.cxx#L99
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
Common/TableProducer/selectionStudyTable.cxx#L96
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
Common/TableProducer/selectionStudyTable.cxx#L93
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
Common/TableProducer/selectionStudyTable.cxx#L90
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
Common/TableProducer/selectionStudyTable.cxx#L87
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
Common/TableProducer/selectionStudyTable.cxx#L79
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
Common/TableProducer/selectionStudyTable.cxx#L76
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
Common/TableProducer/PID/pidTPCBase.h#L51
Use std:: prefix for names from the std namespace.
|
|
Run tests
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
|
|
Run tests
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.
|
Loading