mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 21:17:43 +03:00
Initialize some instance variables in ctor.
Discovered by Coverity. Most likely doesn't fix any actual bug but better be safe.
This commit is contained in:
parent
c535736853
commit
7a2c02f0df
4 changed files with 13 additions and 2 deletions
|
@ -49,7 +49,12 @@ private:
|
|||
|
||||
|
||||
KeePass1Reader::KeePass1Reader()
|
||||
: m_error(false)
|
||||
: m_db(Q_NULLPTR)
|
||||
, m_tmpParent(Q_NULLPTR)
|
||||
, m_device(Q_NULLPTR)
|
||||
, m_encryptionFlags(0)
|
||||
, m_transformRounds(0)
|
||||
, m_error(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue