diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-06-25 15:44:03 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2014-06-27 11:24:58 +0200 |
commit | 9db27b6f7e9fd604325657c319e46102954cbd30 (patch) | |
tree | 20509a24b5ce3f91cdb658c7e9c8ba0451bfa20f /src/libs/3rdparty | |
parent | 7cd3f7b577abd0e08d1c316bfaaf142a96464af1 (diff) | |
download | qt-creator-9db27b6f7e9fd604325657c319e46102954cbd30.tar.gz |
Mark unused parameters/fields with Q_UNUSED.
Change-Id: I3a26cb2f843e3f181d244ca858602251cda9f01e
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/libs/3rdparty')
-rw-r--r-- | src/libs/3rdparty/botan/botan.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libs/3rdparty/botan/botan.cpp b/src/libs/3rdparty/botan/botan.cpp index 084c850d18..9715a56f6a 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<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) |