Commit 7e3b316e authored by Mikael Ronström's avatar Mikael Ronström

Use C++ manner for unused param instead of C manner

parent 7e1f962a
...@@ -301,9 +301,8 @@ void thd_set_thread_stack(THD *thd, char *stack_start) ...@@ -301,9 +301,8 @@ void thd_set_thread_stack(THD *thd, char *stack_start)
@param thd THD object @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); mysql_mutex_lock(&LOCK_thread_count);
} }
...@@ -313,9 +312,8 @@ void thd_lock_connection_data(THD *thd) ...@@ -313,9 +312,8 @@ void thd_lock_connection_data(THD *thd)
@param thd THD object @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_cond_broadcast(&COND_thread_count);
mysql_mutex_unlock(&LOCK_thread_count); mysql_mutex_unlock(&LOCK_thread_count);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment