summaryrefslogtreecommitdiff
path: root/storage/innobase/include/sync0policy.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/sync0policy.ic')
-rw-r--r--storage/innobase/include/sync0policy.ic4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/sync0policy.ic b/storage/innobase/include/sync0policy.ic
index f3526bbfef5..a28e3c382b4 100644
--- a/storage/innobase/include/sync0policy.ic
+++ b/storage/innobase/include/sync0policy.ic
@@ -80,7 +80,7 @@ void MutexDebug<Mutex>::locked(
UNIV_NOTHROW
{
ut_ad(!is_owned());
- ut_ad(m_context.m_thread_id == os_thread_id_t(ULINT_UNDEFINED));
+ ut_ad(m_context.m_thread_id == ULINT_UNDEFINED);
m_context.locked(mutex, name, line);
@@ -88,7 +88,7 @@ void MutexDebug<Mutex>::locked(
}
template <typename Mutex>
-void MutexDebug<Mutex>::release(const Mutex* mutex)
+void MutexDebug<Mutex>::release(const Mutex*)
UNIV_NOTHROW
{
ut_ad(is_owned());