From e6bf9b45dd91ee4681a5a9d718286e18761c2745 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 11 Feb 2015 11:22:49 +0100 Subject: [PATCH] silence unused variable warning --- sapi/apache2handler/sapi_apache2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0