summaryrefslogtreecommitdiff
path: root/innobase/os
diff options
context:
space:
mode:
authorjani@hynda.mysql.fi <>2001-11-05 23:48:03 +0200
committerjani@hynda.mysql.fi <>2001-11-05 23:48:03 +0200
commitd0e83062036a8da0bf02dd24070dd138b843ce80 (patch)
tree008020b20467d6720f9edf373f9b4aa9624c5918 /innobase/os
parent8e2bfcb876314dc0bb334720b4eac7e70a3c4354 (diff)
downloadmariadb-git-d0e83062036a8da0bf02dd24070dd138b843ce80.tar.gz
Added xml patch to mysqldump.
Made innodb to compile more cleanly with debugging options enabled. Fixed a few bugs and found a few possible bugs, which I hope Heikki will check. Comments needs to be fixed too. Some while() functions should be changed to do ... until for documenting purposes, because some of them must and will be processed at least once, or a variable would be used uninitialized. Regards, Jani
Diffstat (limited to 'innobase/os')
-rw-r--r--innobase/os/os0thread.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/innobase/os/os0thread.c b/innobase/os/os0thread.c
index 11bff73608a..49d4c8518fb 100644
--- a/innobase/os/os0thread.c
+++ b/innobase/os/os0thread.c
@@ -58,7 +58,8 @@ os_thread_create(
#endif
void* arg, /* in: argument to start
function */
- os_thread_id_t* thread_id) /* out: id of created
+ os_thread_id_t* thread_id __attribute__((unused)))
+ /* out: id of created
thread */
{
#ifdef __WIN__
@@ -204,7 +205,8 @@ ulint
os_thread_get_priority(
/*===================*/
/* out: priority */
- os_thread_t handle) /* in: OS handle to the thread */
+ os_thread_t handle __attribute__((unused)))
+ /* in: OS handle to the thread */
{
#ifdef __WIN__
int os_pri;