Commit 9db27b6f authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Mark unused parameters/fields with Q_UNUSED.



Change-Id: I3a26cb2f843e3f181d244ca858602251cda9f01e
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent 7cd3f7b5
......@@ -37528,6 +37528,7 @@ Power_Mod::Power_Mod(const BigInt& n, Usage_Hints hints)
*/
Power_Mod::Power_Mod(const Power_Mod& other)
{
Q_UNUSED(hints);
core = 0;
if(other.core)
core = other.core->copy();
......@@ -46650,6 +46651,8 @@ bool has_mlock()
*/
bool lock_mem(void* ptr, size_t bytes)
{
Q_UNUSED(ptr);
Q_UNUSED(bytes);
#if defined(BOTAN_TARGET_OS_HAS_POSIX_MLOCK)
return (::mlock(static_cast<char*>(ptr), bytes) == 0);
#elif defined(BOTAN_TARGET_OS_HAS_WIN32_VIRTUAL_LOCK)
......@@ -46664,6 +46667,8 @@ bool lock_mem(void* ptr, size_t bytes)
*/
void unlock_mem(void* ptr, size_t bytes)
{
Q_UNUSED(ptr);
Q_UNUSED(bytes);
#if defined(BOTAN_TARGET_OS_HAS_POSIX_MLOCK)
::munlock(static_cast<char*>(ptr), bytes);
#elif defined(BOTAN_TARGET_OS_HAS_WIN32_VIRTUAL_LOCK)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment