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 | 36430c53f98931028ce318bed7f2834a4ff30195 (patch) | |
| tree | 50111e171fcaac2e7303811cafcc061332831bab /sql-common | |
| parent | 1311b45a6158700118f4c688fa7354958c4ca68b (diff) | |
| download | mariadb-git-36430c53f98931028ce318bed7f2834a4ff30195.tar.gz | |
Fix use of uninitialized variable.
Diffstat (limited to 'sql-common')
| -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 */ |
