From acc61030178af130ca2ac59d80803d98b2ca2238 Mon Sep 17 00:00:00 2001 From: Enrico Guiraud Date: Fri, 2 Jun 2017 23:20:29 +0200 Subject: [PATCH] [TDF] Use a meaningful name for the commented out function parameter --- tree/treeplayer/inc/ROOT/TDFInterface.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tree/treeplayer/inc/ROOT/TDFInterface.hxx b/tree/treeplayer/inc/ROOT/TDFInterface.hxx index 5115ad9b0daa1..905e73b654e06 100644 --- a/tree/treeplayer/inc/ROOT/TDFInterface.hxx +++ b/tree/treeplayer/inc/ROOT/TDFInterface.hxx @@ -1092,7 +1092,7 @@ protected: bool FirstEvent = true; // TODO move fillTree and initLambda to SnapshotHelper's body - auto fillTree = [&t, &bnames, &FirstEvent](unsigned int /* unused */, Args &... args) { + auto fillTree = [&t, &bnames, &FirstEvent](unsigned int /* slot */, Args &... args) { if (FirstEvent) { // hack to call TTree::Branch on all variadic template arguments std::initializer_list expander = {(t.Branch(bnames[S].c_str(), &args), 0)..., 0}; @@ -1102,7 +1102,7 @@ protected: t.Fill(); }; - auto initLambda = [&t] (TTreeReader *r, unsigned int /* unused */) { + auto initLambda = [&t] (TTreeReader *r, unsigned int /* slot */) { if(r) { // not an empty-source TDF auto tree = r->GetTree();