Skip to content

Commit

Permalink
Remove a few unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Nov 14, 2023
1 parent 808792f commit 4d20c8b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/read_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <iostream>
#include <vector>

void processEvent(const podio::Frame& event, bool verboser, unsigned eventNum) {
void processEvent(const podio::Frame& event) {
auto& mcps = event.get<edm4hep::MCParticleCollection>("MCParticles");
auto& sths = event.get<edm4hep::SimTrackerHitCollection>("SimTrackerHits");
auto& schs = event.get<edm4hep::SimCalorimeterHitCollection>("SimCalorimeterHits");
Expand Down Expand Up @@ -253,7 +253,7 @@ void read_events(const std::string& filename) {
for (unsigned i = 0; i < nEvents; ++i) {
std::cout << "reading event " << i << std::endl;
const auto event = podio::Frame(reader.readNextEntry("events"));
processEvent(event, true, i);
processEvent(event);
}
}

Expand Down
2 changes: 1 addition & 1 deletion test/test_rdf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <iostream>

int main(int argc, char* argv[]) {
int main(int, char*[]) {

ROOT::EnableImplicitMT();

Expand Down
4 changes: 2 additions & 2 deletions utils/include/edm4hep/utils/vector_utils_legacy.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ namespace utils {
}
// no z-component for 2D vectors
template <>
inline constexpr auto vector_z<edm4hep::Vector2f>(const edm4hep::Vector2f& v) {
inline constexpr auto vector_z<edm4hep::Vector2f>(const edm4hep::Vector2f&) {
return 0;
}

template <>
inline constexpr auto vector_z<edm4hep::Vector2i>(const edm4hep::Vector2i& v) {
inline constexpr auto vector_z<edm4hep::Vector2i>(const edm4hep::Vector2i&) {
return 0;
}

Expand Down

0 comments on commit 4d20c8b

Please sign in to comment.