From: foobar Date: Sun, 28 Apr 2002 05:36:05 +0000 (+0000) Subject: kill a compile warning X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~390 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=305260ce4a2c03dc0a0c58f56f2bd1d0a5809cca;p=php kill a compile warning --- diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index a0b5e1ac9a..b94d1b0207 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -933,7 +933,7 @@ PHP_FUNCTION(mysql_info) ZEND_FETCH_RESOURCE2(mysql, php_mysql_conn *, mysql_link, id, "MySQL-Link", le_link, le_plink); - if (str = mysql_info(&mysql->conn)) { + if ((str = mysql_info(&mysql->conn))) { RETURN_STRING(str,1); } else { RETURN_FALSE;