diff --git a/tree/dataframe/src/RLoopManager.cxx b/tree/dataframe/src/RLoopManager.cxx index 9dfee99803287b85593d2adfa8b9a7037135dcae..1d4edda7466ec4367895d952547e69cd07f8e598 100644 --- a/tree/dataframe/src/RLoopManager.cxx +++ b/tree/dataframe/src/RLoopManager.cxx @@ -74,7 +74,6 @@ static bool ContainsLeaf(const std::set<TLeaf *> &leaves, TLeaf *leaf) static void UpdateList(std::set<std::string> &bNamesReg, ColumnNames_t &bNames, const std::string &branchName, const std::string &friendName) { - if (!friendName.empty()) { // In case of a friend tree, users might prepend its name/alias to the branch names const auto friendBName = friendName + "." + branchName; @@ -87,7 +86,7 @@ static void UpdateList(std::set<std::string> &bNamesReg, ColumnNames_t &bNames, } /////////////////////////////////////////////////////////////////////////////// -/// This overloads makes sure that the TLeaf has not been already inserted. +/// This overload makes sure that the TLeaf has not been already inserted. static void UpdateList(std::set<std::string> &bNamesReg, ColumnNames_t &bNames, const std::string &branchName, const std::string &friendName, std::set<TLeaf *> &foundLeaves, TLeaf *leaf, bool allowDuplicates) {