WIP: PVS-Studio. Fixes (High + General)
-
1. V603 The object was created but it is not being used. If you wish to call constructor, 'this->CCareerTask::CCareerTask(....)' should be used. career_tasks.cpp 17
See: https://www.viva64.com/en/w/v603/print/
Fix: https://git.ckcorp.ru/ck/game-dev/regamedll_cs/merge_requests/3
-
2. V547 Expression 'fieldType != CLASSNAME' is always false. cbase.cpp 119 and 197
See: https://www.viva64.com/en/w/v547/print/
-
3. V595 The 'm_pController' pointer was utilized before it was verified against nullptr. Check lines: 298, 300. func_tank.cpp 298 and 300
See: https://www.viva64.com/en/w/v595/print/
-
4. V730 Not all members of a class are initialized inside the constructor. Consider inspecting: m_fTargetEntHit, m_nindexAvailableNode. hostage_localnav.cpp 43