mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-05 11:54:59 -04:00
Silence some unused variable warnings when building in release mode.
This commit is contained in:
parent
a5ac1f2e80
commit
afb521c6bf
1 changed files with 2 additions and 0 deletions
|
@ -24,11 +24,13 @@ SymmetricCipherSalsa20::~SymmetricCipherSalsa20()
|
||||||
void SymmetricCipherSalsa20::setAlgorithm(SymmetricCipher::Algorithm algo)
|
void SymmetricCipherSalsa20::setAlgorithm(SymmetricCipher::Algorithm algo)
|
||||||
{
|
{
|
||||||
Q_ASSERT(algo == SymmetricCipher::Salsa20);
|
Q_ASSERT(algo == SymmetricCipher::Salsa20);
|
||||||
|
Q_UNUSED(algo);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SymmetricCipherSalsa20::setMode(SymmetricCipher::Mode mode)
|
void SymmetricCipherSalsa20::setMode(SymmetricCipher::Mode mode)
|
||||||
{
|
{
|
||||||
Q_ASSERT(mode == SymmetricCipher::Stream);
|
Q_ASSERT(mode == SymmetricCipher::Stream);
|
||||||
|
Q_UNUSED(mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SymmetricCipherSalsa20::setDirection(SymmetricCipher::Direction direction)
|
void SymmetricCipherSalsa20::setDirection(SymmetricCipher::Direction direction)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue