Skip to content
Snippets Groups Projects
Commit 233f07f5 authored by Enrico Guiraud's avatar Enrico Guiraud
Browse files

[TDF] Fix bogus warning in gcc6.2

This warning was first seen in rootbench:
root-benchmark/BUILDTYPE/Release/COMPILER/gcc62/LABEL/performance-cc7/build/include/ROOT/TDFActionHelpers.hxx:745:34:
warning: parameter ‘slot’ set but not used [-Wunused-but-set-parameter]
    void SetBranches(unsigned int slot, BranchTypes&... values, StaticSeq<S...> /*dummy*/)
                                  ^~~~
parent 53149f09
No related branches found
No related tags found
No related merge requests found
......@@ -750,6 +750,7 @@ public:
0)...,
0};
(void)expander; // avoid unused variable warnings for older compilers such as gcc 4.9
(void)slot; // avoid unused variable warnings in gcc6.2
}
void Finalize()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment