diff --git a/include/internal/catch_list.cpp b/include/internal/catch_list.cpp index 3b0e33f1..6010ec15 100644 --- a/include/internal/catch_list.cpp +++ b/include/internal/catch_list.cpp @@ -124,7 +124,7 @@ namespace Catch { return tagCounts.size(); } - std::size_t listReporters( Config const& /*config*/ ) { + std::size_t listReporters() { Catch::cout() << "Available reporters:\n"; IReporterRegistry::FactoryMap const& factories = getRegistryHub().getReporterRegistry().getFactories(); std::size_t maxNameLen = 0; @@ -155,7 +155,7 @@ namespace Catch { if( config.listTags() ) listedCount = listedCount.valueOr(0) + listTags( config ); if( config.listReporters() ) - listedCount = listedCount.valueOr(0) + listReporters( config ); + listedCount = listedCount.valueOr(0) + listReporters(); return listedCount; } diff --git a/include/internal/catch_list.h b/include/internal/catch_list.h index 4bc96ec5..bd29d970 100644 --- a/include/internal/catch_list.h +++ b/include/internal/catch_list.h @@ -29,7 +29,7 @@ namespace Catch { std::size_t listTags( Config const& config ); - std::size_t listReporters( Config const& /*config*/ ); + std::size_t listReporters(); Option list( Config const& config );