diff options
author | unknown <jani@ua141d10.elisa.omakaista.fi> | 2005-10-18 18:03:26 +0300 |
---|---|---|
committer | unknown <jani@ua141d10.elisa.omakaista.fi> | 2005-10-18 18:03:26 +0300 |
commit | c0eae8f0a1127ab29631103632c702e6d634fc09 (patch) | |
tree | dedf1965e0d97e9ca4d30f9e0558ea9af42fb064 /mysql-test/my_manage.c | |
parent | 3867a5db376cf225403116c26eaa8c73e4c9b359 (diff) | |
download | mariadb-git-c0eae8f0a1127ab29631103632c702e6d634fc09.tar.gz |
Some fixes to avoid compiler warnings.
mysql-test/my_manage.c:
Avoid warning: i not used in case of Windows.
mysql-test/mysql_test_run_new.c:
Removed unused variable.
sql/item_func.cc:
Removed unused variables.
strings/ctype-simple.c:
Added cast.
strings/ctype-ucs2.c:
Added cast.
Diffstat (limited to 'mysql-test/my_manage.c')
-rw-r--r-- | mysql-test/my_manage.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/my_manage.c b/mysql-test/my_manage.c index 88e68dfc27e..919d3bd0529 100644 --- a/mysql-test/my_manage.c +++ b/mysql-test/my_manage.c @@ -230,7 +230,10 @@ int wait_for_server_start(char *bin_dir __attribute__((unused)), char *user, char *password, int port,char *tmp_dir) { arg_list_t al; - int err= 0, i; + int err= 0; +#ifndef __WIN__ + int i; +#endif char trash[FN_REFLEN]; /* mysqladmin file */ |