Skip to content

Commit

Permalink
[ntuple] Fix unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
enirolf authored and dpiparo committed Dec 26, 2024
1 parent 431e8c7 commit 0f6c709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/ntuple/v7/test/ntuple_processor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ TEST(RNTupleProcessor, EmptyNTuple)
auto proc = RNTupleProcessor::Create(ntuple);

int nEntries = 0;
for (const auto &_ : *proc) {
for ([[maybe_unused]] const auto &entry : *proc) {
nEntries++;
}
EXPECT_EQ(0, nEntries);
Expand Down

0 comments on commit 0f6c709

Please sign in to comment.