Skip to content

Warnfixes in STS

Sergey Gorbunov requested to merge se.gorbunov/cbmroot:MRwarningsSts into master

Warnfixes in STS

In particular, the following warning:

In file included from /usr/include/c++/12/cassert:44,
                 from /u/sgorbuno/cbm/cbmroot/analysis/detectors/sts/CbmStsUtils.cxx:11:
/u/sgorbuno/cbm/cbmroot/analysis/detectors/sts/CbmStsUtils.cxx: In function ‘std::pair<cbm_sts_utils::HBinning, cbm_sts_utils::HBinning> cbm_sts_utils::ChargeBinning(const CbmStsParModule&, uint32_t)’:
/u/sgorbuno/cbm/cbmroot/analysis/detectors/sts/CbmStsUtils.cxx:87:11: warning: left operand of comma operator has no effect [-Wunused-value]
   87 |   assert(("Maximum cluster size must be greater than 0", max_clu_size > 0));
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Edited by Sergey Gorbunov

Merge request reports

Loading