Skip to content
Snippets Groups Projects

Warnfixes in STS

Merged Sergey Gorbunov requested to merge se.gorbunov/cbmroot:MRwarningsSts into master
All threads resolved!

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
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Volker Friese resolved all threads

    resolved all threads

  • Volker Friese added 1 commit

    added 1 commit

    • f661217c - Apply 2 suggestion(s) to 2 file(s)

    Compare with previous version

  • Volker Friese added 3 commits

    added 3 commits

    • ecd83d20 - 1 commit from branch computing:master
    • 2579be95 - Warnfixes in STS
    • cedbfc85 - Apply 2 suggestion(s) to 2 file(s)

    Compare with previous version

  • Volker Friese
  • Volker Friese resolved all threads

    resolved all threads

  • Volker Friese added 1 commit

    added 1 commit

    • 684a87a0 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Please register or sign in to reply
    Loading