diff --git a/src/core/Database.cpp b/src/core/Database.cpp index fb48c8cf3..be8f5c5fe 100644 --- a/src/core/Database.cpp +++ b/src/core/Database.cpp @@ -91,9 +91,9 @@ Group* Database::recFindGroup(const Uuid& uuid, Group* group) return group; Q_FOREACH (Group* child, group->children()) { - Group* result = recFindGroup(uuid, child); - if (result) - return result; + Group* result = recFindGroup(uuid, child); + if (result) + return result; } return 0; diff --git a/src/crypto/Crypto.cpp b/src/crypto/Crypto.cpp index 8bba447c9..9b8a79f20 100644 --- a/src/crypto/Crypto.cpp +++ b/src/crypto/Crypto.cpp @@ -21,7 +21,7 @@ #include -bool Crypto::m_initiated(false); +bool Crypto::m_initalized(false); int gcry_qt_mutex_init(void** p_sys) { @@ -63,7 +63,7 @@ Crypto::Crypto() void Crypto::init() { - if (m_initiated) { + if (m_initalized) { return; } @@ -71,7 +71,7 @@ void Crypto::init() gcry_check_version(0); gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0); - m_initiated = true; + m_initalized = true; } bool Crypto::selfTest() diff --git a/src/crypto/Crypto.h b/src/crypto/Crypto.h index fb2b0e75a..439c23230 100644 --- a/src/crypto/Crypto.h +++ b/src/crypto/Crypto.h @@ -26,7 +26,7 @@ public: private: Crypto(); - static bool m_initiated; + static bool m_initalized; }; #endif // KEEPASSX_CRYPTO_H