From: Anatol Belski Date: Wed, 11 Feb 2015 10:22:49 +0000 (+0100) Subject: silence unused variable warning X-Git-Tag: PRE_PHP7_EREG_MYSQL_REMOVALS~188 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6bf9b45dd91ee4681a5a9d718286e18761c2745;p=php silence unused variable warning --- diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index f5fc78695b..c33e071c56 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -546,7 +546,7 @@ static int php_handler(request_rec *r) request_rec * volatile parent_req = NULL; #ifdef ZTS /* initial resource fetch */ - void ***tsrm_ls = ts_resource(0); + (void)ts_resource(0); ZEND_TSRMLS_CACHE_UPDATE; #endif