summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-12-05 10:29:06 +0000
committerStig Bakken <ssb@php.net>1999-12-05 10:29:06 +0000
commitae1b7bf4b8f211726d21bbf489bee78c8a3c4e2e (patch)
tree3b406c6f138d6d278d9b74ea3d79e4697c91bdae /ext/mysql/php_mysql.c
parent2aaece2db68b6e15d2246234964101a14c72797f (diff)
downloadphp-git-ae1b7bf4b8f211726d21bbf489bee78c8a3c4e2e.tar.gz
@Fix warnings compiling in maintainer mode. (Stig)
Fix warnings compiling in maintainer mode. Install DB/common.php and DB/mysql.php on "make install". # We still have a warning from http_config.h:97. Rasmus? :-)
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 039cbb8bb5..7c65958403 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -367,7 +367,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent)
#endif
char *user,*passwd,*host,*socket=NULL,*tmp;
char *hashed_details;
- int hashed_details_length,port;
+ int hashed_details_length,port = MYSQL_PORT;
MYSQL *mysql;
MySLS_FETCH();
PLS_FETCH();