Commit d7dd2fc9 authored by Alexander Nozdrin's avatar Alexander Nozdrin

Fix use of uninitialized variable.

parent 0025c2d7
...@@ -2435,7 +2435,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user, ...@@ -2435,7 +2435,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
int gai_errno; int gai_errno;
char port_buf[NI_MAXSERV]; char port_buf[NI_MAXSERV];
my_socket sock= SOCKET_ERROR; 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 */ unix_socket=0; /* This is not used */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment