Initialize variables to silence compiler warnings.

This commit is contained in:
Felix Geyer 2013-05-01 12:03:03 +02:00
parent a505d85792
commit db6ac26794
2 changed files with 3 additions and 3 deletions

View File

@ -391,8 +391,8 @@ Group* KeePass1Reader::readGroup(QIODevice* cipherStream)
TimeInfo timeInfo; TimeInfo timeInfo;
quint32 groupId; quint32 groupId = 0;
quint32 groupLevel; quint32 groupLevel = 0;
bool groupIdSet = false; bool groupIdSet = false;
bool groupLevelSet = false; bool groupLevelSet = false;

View File

@ -741,7 +741,7 @@ void KeePass2XmlReader::parseEntryString(Entry* entry)
QString key; QString key;
QString value; QString value;
bool protect; bool protect = false;
bool keySet = false; bool keySet = false;
bool valueSet = false; bool valueSet = false;