Unused variable removed

This commit is contained in:
Sergey Evsegneev 2022-09-28 11:30:17 +03:00 committed by Martin Hořeňovský
parent 243cf71608
commit 4a7cefe601

View File

@ -61,7 +61,6 @@ namespace Catch {
multi->addListener(listener->create(config)); multi->addListener(listener->create(config));
} }
std::size_t reporterIdx = 0;
for ( auto const& reporterSpec : config->getProcessedReporterSpecs() ) { for ( auto const& reporterSpec : config->getProcessedReporterSpecs() ) {
multi->addReporter( createReporter( multi->addReporter( createReporter(
reporterSpec.name, reporterSpec.name,
@ -69,7 +68,6 @@ namespace Catch {
makeStream( reporterSpec.outputFilename ), makeStream( reporterSpec.outputFilename ),
reporterSpec.colourMode, reporterSpec.colourMode,
reporterSpec.customOptions ) ) ); reporterSpec.customOptions ) ) );
reporterIdx++;
} }
return multi; return multi;