Mark benchmark state variables in for loops as unused in benchmarks
Signed-off-by: Chris Burel <burelc@amazon.com>
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ namespace Benchmark
|
||||
m_pathString);
|
||||
|
||||
TemplateId templateToInstantiateId = firstInstance->GetTemplateId();
|
||||
for (auto _ : state)
|
||||
for ([[maybe_unused]] auto _ : state)
|
||||
{
|
||||
state.PauseTiming();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user