Skip to content

Commit

Permalink
Apply the remaining suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Jakub Fila <37295697+m-fila@users.noreply.github.com>
  • Loading branch information
jmcarcell and m-fila authored Aug 26, 2024
1 parent e5bd022 commit 41d744e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ struct ExampleFunctionalConsumerRuntimeCollectionsMultiple final
// This is the function that will be called to produce the data
void operator()(const std::vector<const edm4hep::MCParticleCollection*>& particleVec,
const std::vector<const edm4hep::TrackCollection*>& trackVec,
const edm4hep::SimTrackerHitCollection& simTrackerHits) const override {
// Silence warning about unused variable
(void)simTrackerHits;
const edm4hep::SimTrackerHitCollection&) const override {
info() << "Received " << particleVec.size() << " particle collections and " << trackVec.size()
<< " track collections" << endmsg;
if (particleVec.size() != 5) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ StatusCode k4FWCoreTest_cellID_reader::initialize() {
}

StatusCode k4FWCoreTest_cellID_reader::execute(const EventContext&) const {
const auto simtrackerhits_coll = m_simTrackerHitReaderHandle.get();
// Silence warning because we don't use simtrackerhits_coll
(void)simtrackerhits_coll;
[[maybe_unused]] const auto simtrackerhits_coll = m_simTrackerHitReaderHandle.get();

const auto cellIDstr = m_cellIDHandle.get();

Expand Down

0 comments on commit 41d744e

Please sign in to comment.