summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-02-12 20:58:29 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-02-12 20:58:29 +0000
commit5904d59ffde155a8a76cc202e6e47cbcdb2781e9 (patch)
tree18280933f57c3277bf3348aa37e5101cd1a8292c /ext/pdo_mysql/mysql_driver.c
parent9b394af973352aae4d6ca947425cba8e0ac96855 (diff)
downloadphp-git-5904d59ffde155a8a76cc202e6e47cbcdb2781e9.tar.gz
Fixed compiler warnings.
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
-rwxr-xr-xext/pdo_mysql/mysql_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c
index 5665ab6393..ed9507ea7c 100755
--- a/ext/pdo_mysql/mysql_driver.c
+++ b/ext/pdo_mysql/mysql_driver.c
@@ -239,7 +239,7 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_
pdo_mysql_db_handle *H;
int i, ret = 0;
char *host = NULL, *unix_socket = NULL;
- unsigned int port;
+ unsigned int port = 3306;
char *dbname;
struct pdo_data_src_parser vars[] = {
{ "charset", NULL, 0 },