From 7e3b316ecdcfc5711ea861470dc578ef701e8e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Ronstr=C3=B6m?= Date: Fri, 15 Apr 2011 12:57:59 +0200 Subject: [PATCH] Use C++ manner for unused param instead of C manner --- sql/sql_class.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 3061cf9deda..8f5d7f05033 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -301,9 +301,8 @@ void thd_set_thread_stack(THD *thd, char *stack_start) @param thd THD object */ -void thd_lock_connection_data(THD *thd) +void thd_lock_connection_data(THD *) { - (void)thd; mysql_mutex_lock(&LOCK_thread_count); } @@ -313,9 +312,8 @@ void thd_lock_connection_data(THD *thd) @param thd THD object */ -void thd_unlock_connection_data(THD *thd) +void thd_unlock_connection_data(THD *) { - (void)thd; mysql_cond_broadcast(&COND_thread_count); mysql_mutex_unlock(&LOCK_thread_count); }