Silence some unused variable warnings when building in release mode.

This commit is contained in:
Felix Geyer 2012-04-18 16:07:58 +02:00
parent a5ac1f2e80
commit afb521c6bf

View File

@ -24,11 +24,13 @@ SymmetricCipherSalsa20::~SymmetricCipherSalsa20()
void SymmetricCipherSalsa20::setAlgorithm(SymmetricCipher::Algorithm algo)
{
Q_ASSERT(algo == SymmetricCipher::Salsa20);
Q_UNUSED(algo);
}
void SymmetricCipherSalsa20::setMode(SymmetricCipher::Mode mode)
{
Q_ASSERT(mode == SymmetricCipher::Stream);
Q_UNUSED(mode);
}
void SymmetricCipherSalsa20::setDirection(SymmetricCipher::Direction direction)