summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql-common/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 88da0242f5b..cbd3477d58a 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -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 */