diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-03-26 11:09:14 +0300 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-03-26 11:09:14 +0300 |
commit | d7dd2fc92f042596c2e72a96934bb207270e7419 (patch) | |
tree | 50111e171fcaac2e7303811cafcc061332831bab | |
parent | 0025c2d7e9f662ae5560359854580ebbc421c086 (diff) | |
download | mariadb-git-d7dd2fc92f042596c2e72a96934bb207270e7419.tar.gz |
Fix use of uninitialized variable.
-rw-r--r-- | sql-common/client.c | 2 |
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 */ |