From: Andrey Hristov Date: Tue, 2 Aug 2011 15:30:58 +0000 (+0000) Subject: Remove a warning by explicitly compiling out a non-used variable X-Git-Tag: php-5.3.7RC5~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=395ebb5c8b11af9403f7de6b597190f34584da08;p=php Remove a warning by explicitly compiling out a non-used variable --- diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 7e28cce269..4d1a255b29 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -2233,7 +2233,9 @@ PHP_FUNCTION(mysqli_stmt_attr_set) MY_STMT *stmt; zval *mysql_stmt; long mode_in; +#if MYSQL_VERSION_ID >= 50107 my_bool mode_b; +#endif ulong mode; ulong attr; void *mode_p;