com php-src: silence unused variable warning: sapi/apache2han dler/sapi_apache2.c

From: Date: Wed, 11 Feb 2015 10:46:30 +0000
Subject: com php-src: silence unused variable warning: sapi/apache2han dler/sapi_apache2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84807@lists.php.net to get a copy of this message
Commit: e6bf9b45dd91ee4681a5a9d718286e18761c2745 Author: Anatol Belski <ab@php.net> Wed, 11 Feb 2015 11:22:49 +0100 Parents: 12a42433b27bd2f3c28a496269610fe53c567310 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e6bf9b45dd91ee4681a5a9d718286e18761c2745 Log: silence unused variable warning Changed paths: M sapi/apache2handler/sapi_apache2.c Diff: diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index f5fc786..c33e071 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

« previous php.cvs (#84807) next »