Skip to content

Commit

Permalink
Unused variable removed
Browse files Browse the repository at this point in the history
  • Loading branch information
evsergey authored and horenmar committed Sep 28, 2022
1 parent 243cf71 commit 4a7cefe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/catch2/catch_session.cpp
Expand Up @@ -61,15 +61,13 @@ namespace Catch {
multi->addListener(listener->create(config));
}

std::size_t reporterIdx = 0;
for ( auto const& reporterSpec : config->getProcessedReporterSpecs() ) {
multi->addReporter( createReporter(
reporterSpec.name,
ReporterConfig( config,
makeStream( reporterSpec.outputFilename ),
reporterSpec.colourMode,
reporterSpec.customOptions ) ) );
reporterIdx++;
}

return multi;
Expand Down

0 comments on commit 4a7cefe

Please sign in to comment.