From 732d702fd822b511c52c7afc350d26dceb2e720d Mon Sep 17 00:00:00 2001 From: "heikki@donna.mysql.fi" <> Date: Wed, 14 Mar 2001 21:55:18 +0200 Subject: [PATCH] srv0srv.c Eliminate another warning on HP-UX --- innobase/srv/srv0srv.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/innobase/srv/srv0srv.c b/innobase/srv/srv0srv.c index 96a9df9e0ae..fcb4721fefb 100644 --- a/innobase/srv/srv0srv.c +++ b/innobase/srv/srv0srv.c @@ -899,8 +899,8 @@ void srv_create_utility_threads(void) /*============================*/ { - os_thread_t thread; -/* os_thread_id_t thr_id; */ +/* os_thread_t thread; + os_thread_id_t thr_id; */ ulint i; mutex_enter(&kernel_mutex); @@ -913,7 +913,7 @@ srv_create_utility_threads(void) for (i = 0; i < 1; i++) { /* thread = os_thread_create(srv_recovery_thread, NULL, &thr_id); */ - ut_a(thread); + /* ut_a(thread); */ } /* thread = os_thread_create(srv_purge_thread, NULL, &thr_id); @@ -978,15 +978,15 @@ void srv_create_com_threads(void) /*========================*/ { - os_thread_t thread; -/* os_thread_id_t thr_id; */ + /* os_thread_t thread; + os_thread_id_t thr_id; */ ulint i; srv_n_threads[SRV_COM] = srv_n_com_threads; for (i = 0; i < srv_n_com_threads; i++) { /* thread = os_thread_create(srv_com_thread, NULL, &thr_id); */ - ut_a(thread); + /* ut_a(thread); */ } } @@ -1042,8 +1042,8 @@ void srv_create_worker_threads(void) /*===========================*/ { - os_thread_t thread; -/* os_thread_id_t thr_id; */ +/* os_thread_t thread; + os_thread_id_t thr_id; */ ulint i; srv_n_threads[SRV_WORKER] = srv_n_worker_threads; @@ -1051,7 +1051,7 @@ srv_create_worker_threads(void) for (i = 0; i < srv_n_worker_threads; i++) { /* thread = os_thread_create(srv_worker_thread, NULL, &thr_id); */ - ut_a(thread); + /* ut_a(thread); */ } }