Skip to content

BankKiller - Add default initializer for local variable to suppress warnings.

Christopher Rob Jones requested to merge BankKiller-FixUninitializedWarning into master

Fixes the warning

In file included from ../DAQ/DAQUtils/src/bankKiller.cpp:2:0:
../DAQ/DAQUtils/src/bankKiller.h: In lambda function:
../DAQ/DAQUtils/src/bankKiller.h:57:42: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                                   return t;
                                          ^

Merge request reports

Loading