From afb521c6bf400627b52b6f0a15bed1e57ebb198e Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Wed, 18 Apr 2012 16:07:58 +0200 Subject: [PATCH] Silence some unused variable warnings when building in release mode. --- src/crypto/SymmetricCipherSalsa20.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crypto/SymmetricCipherSalsa20.cpp b/src/crypto/SymmetricCipherSalsa20.cpp index d5cc48729..f9c29fa9b 100644 --- a/src/crypto/SymmetricCipherSalsa20.cpp +++ b/src/crypto/SymmetricCipherSalsa20.cpp @@ -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)