1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-11 05:52:26 +03:00

Some fixes to avoid compiler warnings.

This commit is contained in:
jani@ua141d10.elisa.omakaista.fi
2005-10-18 18:03:26 +03:00
parent d10326a3dc
commit 8e1dac44b4
5 changed files with 6 additions and 5 deletions

View File

@@ -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 */

View File

@@ -1716,7 +1716,6 @@ int main(int argc, char **argv)
int* handle;
char test[FN_LEN];
char mask[FN_REFLEN];
char *p;
int position;
/* single test */