summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorPierre Joye <pierre.php@gmail.com>2013-05-15 15:53:57 +0200
committerPierre Joye <pierre.php@gmail.com>2013-05-15 15:53:57 +0200
commit09470ebf35a47ac34c3ffa5524ccb47ff404cd5a (patch)
tree144ba2884277e0b4216a588f195cafb445e7d47c /ext/mysql/php_mysql.c
parent7ec2e5314eb62d9cd2ef23e0b62445eb50cc23c0 (diff)
parentde82e7edf7c91afab236a087ce4900868066b5d7 (diff)
downloadphp-git-09470ebf35a47ac34c3ffa5524ccb47ff404cd5a.tar.gz
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 5ad7bc903d..db0e5a1fc5 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -720,7 +720,7 @@ PHP_MINFO_FUNCTION(mysql)
static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
{
char *user=NULL, *passwd=NULL, *host_and_port=NULL, *socket=NULL, *tmp=NULL, *host=NULL;
- int user_len, passwd_len, host_len;
+ int user_len = 0, passwd_len = 0, host_len = 0;
char *hashed_details=NULL;
int hashed_details_length, port = MYSQL_PORT;
long client_flags = 0;