diff options
author | unknown <monty@narttu.mysql.fi> | 2003-05-15 17:50:57 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-05-15 17:50:57 +0300 |
commit | 8178016caee8c98f017a8b8ce1b79802ce3c8231 (patch) | |
tree | d3b62b3ee37be2ecb2a5fceeed86d202a191a8f8 /tests/thread_test.c | |
parent | df9068e35a356b657c6f70c0d8563d3ddae5304c (diff) | |
download | mariadb-git-8178016caee8c98f017a8b8ce1b79802ce3c8231.tar.gz |
Fix to get thread_test to compile
BitKeeper/etc/ignore:
added insert_test
tests/thread_test.c:
Remove compiler warnings
Diffstat (limited to 'tests/thread_test.c')
-rw-r--r-- | tests/thread_test.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/thread_test.c b/tests/thread_test.c index 2900ab712e2..c201cbb9b83 100644 --- a/tests/thread_test.c +++ b/tests/thread_test.c @@ -39,9 +39,9 @@ static char *database,*host,*user,*password,*unix_socket,*query; uint tcp_port; #ifndef __WIN__ -void *test_thread(void *arg) +void *test_thread(void *arg __attribute__((unused))) #else -unsigned __stdcall test_thread(void *arg) +unsigned __stdcall test_thread(void *arg __attribute__((unused))) #endif { MYSQL *mysql; @@ -186,7 +186,8 @@ int main(int argc, char **argv) { pthread_t tid; pthread_attr_t thr_attr; - int i,error; + uint i; + int error; MY_INIT(argv[0]); get_options(argc,argv); |