summaryrefslogtreecommitdiff
path: root/sql-common/client.c
diff options
context:
space:
mode:
authorAlexander Nozdrin <alexander.nozdrin@oracle.com>2010-10-12 14:07:13 +0400
committerAlexander Nozdrin <alexander.nozdrin@oracle.com>2010-10-12 14:07:13 +0400
commit26e12a11bb7d8e88c07ec1e360c77834819ebc29 (patch)
tree5ce1ea8e85b4b43586ee36fb6f986815a8716739 /sql-common/client.c
parentc0557845a17eb1329ceae25c1fafd4385aa36a6f (diff)
downloadmariadb-git-26e12a11bb7d8e88c07ec1e360c77834819ebc29.tar.gz
Fix compilation warnings.
Diffstat (limited to 'sql-common/client.c')
-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 0a30ef150e1..e8ca74eba37 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -2923,7 +2923,7 @@ CLI_MYSQL_REAL_CONNECT(MYSQL *mysql,const char *host, const char *user,
uint port, const char *unix_socket,ulong client_flag)
{
char buff[NAME_LEN+USERNAME_LENGTH+100];
- int scramble_data_len, pkt_scramble_len;
+ int scramble_data_len, pkt_scramble_len= 0;
char *end,*host_info= 0, *server_version_end, *pkt_end;
char *scramble_data;
const char *scramble_plugin;