mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Fixed a few CWE-457
This commit is contained in:
@@ -239,8 +239,9 @@ CBattleQuery::CBattleQuery(const BattleInfo *Bi)
|
||||
}
|
||||
|
||||
CBattleQuery::CBattleQuery()
|
||||
:bi(nullptr)
|
||||
{
|
||||
|
||||
belligerents[0] = belligerents[1] = nullptr;
|
||||
}
|
||||
|
||||
bool CBattleQuery::blocksPack(const CPack *pack) const
|
||||
|
||||
Reference in New Issue
Block a user