Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[TDF] Fix unused parameter warning on mac
  • Loading branch information
eguiraud committed Jun 2, 2017
commit 9d4326d2a3a40fe6a0120e59c509142f46107a7e
2 changes: 1 addition & 1 deletion tree/treeplayer/inc/ROOT/TDFInterface.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -1102,7 +1102,7 @@ protected:
t.Fill();
};

auto initLambda = [&t] (TTreeReader *r, unsigned int slot) {
auto initLambda = [&t] (TTreeReader *r, unsigned int /* unused */) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider still using the word 'slot' as the commented part of the parameter. This will help a future enhancer of the semantic of the argument.

if(r) {
// not an empty-source TDF
auto tree = r->GetTree();
Expand Down