mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-25 07:45:22 -04:00
Enable and fix more warnings.
This commit is contained in:
parent
5da7d3fca6
commit
1678351d11
5 changed files with 7 additions and 5 deletions
|
@ -135,7 +135,7 @@ bool HashedBlockStream::readHashedBlock()
|
|||
}
|
||||
|
||||
if (m_blockSize == 0) {
|
||||
if (hash.count(static_cast<char>(0)) != 32) {
|
||||
if (hash.count('\0') != 32) {
|
||||
// TODO error
|
||||
Q_ASSERT(false);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue