From ae1b7bf4b8f211726d21bbf489bee78c8a3c4e2e Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Sun, 5 Dec 1999 10:29:06 +0000 Subject: @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? :-) --- ext/mysql/php_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysql/php_mysql.c') 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(); -- cgit v1.2.1