diff --git a/test/read_events.h b/test/read_events.h index 12982abc5..b430c8808 100644 --- a/test/read_events.h +++ b/test/read_events.h @@ -18,7 +18,7 @@ #include #include -void processEvent(const podio::Frame& event, bool verboser, unsigned eventNum) { +void processEvent(const podio::Frame& event) { auto& mcps = event.get("MCParticles"); auto& sths = event.get("SimTrackerHits"); auto& schs = event.get("SimCalorimeterHits"); @@ -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); } } diff --git a/test/test_rdf.cc b/test/test_rdf.cc index bcf9a4e47..6ce6c41cd 100644 --- a/test/test_rdf.cc +++ b/test/test_rdf.cc @@ -8,7 +8,7 @@ #include -int main(int argc, char* argv[]) { +int main(int, char*[]) { ROOT::EnableImplicitMT(); diff --git a/utils/include/edm4hep/utils/vector_utils_legacy.h b/utils/include/edm4hep/utils/vector_utils_legacy.h index f95bf2a40..8f6225035 100644 --- a/utils/include/edm4hep/utils/vector_utils_legacy.h +++ b/utils/include/edm4hep/utils/vector_utils_legacy.h @@ -66,12 +66,12 @@ namespace utils { } // no z-component for 2D vectors template <> - inline constexpr auto vector_z(const edm4hep::Vector2f& v) { + inline constexpr auto vector_z(const edm4hep::Vector2f&) { return 0; } template <> - inline constexpr auto vector_z(const edm4hep::Vector2i& v) { + inline constexpr auto vector_z(const edm4hep::Vector2i&) { return 0; }