From 9db27b6f7e9fd604325657c319e46102954cbd30 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 25 Jun 2014 15:44:03 +0200 Subject: [PATCH] Mark unused parameters/fields with Q_UNUSED. Change-Id: I3a26cb2f843e3f181d244ca858602251cda9f01e Reviewed-by: Christian Kandeler --- src/libs/3rdparty/botan/botan.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libs/3rdparty/botan/botan.cpp b/src/libs/3rdparty/botan/botan.cpp index 084c850d189..9715a56f6a1 100644 --- a/src/libs/3rdparty/botan/botan.cpp +++ b/src/libs/3rdparty/botan/botan.cpp @@ -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(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(ptr), bytes); #elif defined(BOTAN_TARGET_OS_HAS_WIN32_VIRTUAL_LOCK)