Skip to content

Commit 7ecbac1

Browse files
committed
[TDF] Avoid unused variable warnings
1 parent a8290c3 commit 7ecbac1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tree/treeplayer/inc/ROOT/TDFInterface.hxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,7 @@ private:
13051305
// hack to expand a template parameter pack without c++17 fold expressions.
13061306
std::initializer_list<int> expander{
13071307
(mustBeDefined[S] ? DefineDSColumnHelper<ColumnTypes>(columns[S], lm) : /*no-op*/((void)0), 0)...};
1308+
(void)expander; // avoid unused variable warnings
13081309
}
13091310
}
13101311

tree/treeplayer/inc/ROOT/TDataSource.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public:
4646
/// Convenience method called at the start of each task, before processing a range of entries.
4747
/// DataSources can implement it if needed (does nothing by default).
4848
/// firstEntry is the first entry of the range that the task will process.
49-
virtual void InitSlot(unsigned int slot, ULong64_t firstEntry) {}
49+
virtual void InitSlot(unsigned int /*slot*/, ULong64_t /*firstEntry*/) {}
5050

5151
protected:
5252
/// type-erased vector of pointers to pointers to column values - one per slot

0 commit comments

Comments
 (0)