From: Andrey Hristov Date: Thu, 11 Jun 2009 17:54:04 +0000 (+0000) Subject: Put these in an ifdef because they are not used at all if the zval cache X-Git-Tag: php-5.3.0RC4~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a2cc0ce67dbba92a7d2da375585a2e99971e872;p=php Put these in an ifdef because they are not used at all if the zval cache is off. --- diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c index c8df09f3cc..8619eae2e7 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -1362,8 +1362,10 @@ void php_mysqlnd_rowp_read_binary_protocol(MYSQLND_MEMORY_POOL_CHUNK * row_buffe zend_uchar *null_ptr, bit; zval **current_field, **end_field, **start_field; zend_bool as_unicode = conn->options.numeric_and_datetime_as_unicode; +#ifdef USE_ZVAL_CACHE zend_bool allocated; void *obj = NULL; +#endif DBG_ENTER("php_mysqlnd_rowp_read_binary_protocol");