diff options
| author | Mikael Ronström <mikael@dator9> | 2011-04-15 12:57:59 +0200 |
|---|---|---|
| committer | Mikael Ronström <mikael@dator9> | 2011-04-15 12:57:59 +0200 |
| commit | 0db7bb2bfe5cdbb366245a9137d8fed11e7881b7 (patch) | |
| tree | d8e4f1bbe28c209d21c590d0580d045299d02cb3 /sql/sql_class.cc | |
| parent | 917da2749f1912c18ebeea08ce5a83a455807219 (diff) | |
| download | mariadb-git-0db7bb2bfe5cdbb366245a9137d8fed11e7881b7.tar.gz | |
Use C++ manner for unused param instead of C manner
Diffstat (limited to 'sql/sql_class.cc')
| -rw-r--r-- | sql/sql_class.cc | 6 |
1 files 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); } |
