Fix use of uninitialized variable.

This commit is contained in:
Alexander Nozdrin 2010-03-26 11:09:14 +03:00
parent 1311b45a61
commit 36430c53f9

View File

@ -2435,7 +2435,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
int gai_errno;
char port_buf[NI_MAXSERV];
my_socket sock= SOCKET_ERROR;
int UNINIT_VAR(saved_error), status= -1;
int saved_error= 0, status= -1;
unix_socket=0; /* This is not used */