Skip to content

Commit

Permalink
fixup atlas_io warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck committed Feb 14, 2025
1 parent f34e54e commit 7d19a36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions atlas_io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ ecbuild_add_option( FEATURE WARNINGS
if(HAVE_WARNINGS)
ecbuild_add_cxx_flags("-Wall" NO_FAIL)
ecbuild_add_cxx_flags("-Wextra" NO_FAIL)
ecbuild_add_cxx_flags("-Wno-unused-parameter" NO_FAIL)

endif()

if( CMAKE_CXX_COMPILER_ID STREQUAL Intel )
Expand Down
2 changes: 1 addition & 1 deletion atlas_io/src/atlas_io/Trace.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Trace::Trace(const eckit::CodeLocation& loc, const std::string& title) {
}
}

Trace::Trace(const eckit::CodeLocation& loc, const std::string& title, const Labels& labels) {
Trace::Trace(const eckit::CodeLocation& loc, const std::string& title, const Labels&) {
for (size_t id = 0; id < TraceHookRegistry::size(); ++id) {
if (TraceHookRegistry::enabled(id)) {
hooks_.emplace_back(TraceHookRegistry::hook(id)(loc, title));
Expand Down

0 comments on commit 7d19a36

Please sign in to comment.