Skip to content

CaloEvent_CaloUtils+CaloTPCnv: Fix cppcheck warnings.

cppcheck warnings:

  • Array bounds check ordering.
  • Spurious uninitialized variable warnings.
  • Spurious objectIndex warnings.
  • Prefer preincrement to postincrement for iterators.
  • Redundant member initialization.
  • Prefer to initialize members in an initialization clause, rather than in a function body.
  • Pass std::string by const reference, not value.

Merge request reports