mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-14 00:39:53 -05:00
Silence some unused variable warnings when building in release mode.
This commit is contained in:
parent
a5ac1f2e80
commit
afb521c6bf
@ -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…
Reference in New Issue
Block a user