compiling master
, I get the following warning:
0In file included from test/fuzz/banman.cpp:10:
1./test/fuzz/util.h: In instantiation of ‘void CallOneOf(FuzzedDataProvider&, Callables ...) [with Callables = {banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>, banman_fuzz_target(FuzzBufferType)::<lambda()>}]’:
2test/fuzz/banman.cpp:77:18: required from here
3./test/fuzz/util.h:48:32: warning: this condition has identical branches [-Wduplicated-branches]
4 return ((i++ == call_index ? callables() : void()), ...);
5 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
6./test/fuzz/util.h:48:32: warning: this condition has identical branches [-Wduplicated-branches]