PowhegHookstW : uninitMemberVar variables : clang+cppcheck
clang:
/Generators/Pythia8_i/src/UserHooks/PowhegHookstW.cxx:40:4: warning: constructor does not initialize these fields: m_nFinal, m_vetoMode, m_vetoCount, m_pThardMode, m_pTemtMode, m_emittedMode, m_pTdefMode, m_MPIvetoMode, m_QEDvetoMode, m_pThard, m_pTMPI, m_accepted, m_isEmt, m_nAcceptSeq, m_nISRveto, m_nFSRveto [cppcoreguidelines-pro-type-member-init]
PowhegHookstW() {
^
cppcheck :
| athena/Generators/Pythia8_i/src/UserHooks/PowhegHookstW.cxx | | | | |
|-------------------------------------------------------------|-----------------|-----|---------|---------------------------------------------------------------------------------------|
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_nFinal' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_vetoMode' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_vetoCount' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_pThardMode' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_pTemtMode' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_emittedMode' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_pTdefMode' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_MPIvetoMode' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_QEDvetoMode' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_pThard' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_pTMPI' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_accepted' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_isEmt' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_nAcceptSeq' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_nISRveto' is not initialized in the constructor. |
| 40 | uninitMemberVar | 398 | warning | Member variable 'PowhegHookstW::m_nFSRveto' is not initialized in the constructor. |