summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/sapi_apache2.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-02-11 11:22:49 +0100
committerAnatol Belski <ab@php.net>2015-02-11 11:46:30 +0100
commite6bf9b45dd91ee4681a5a9d718286e18761c2745 (patch)
tree8ba72ed9afa9c381a6bef52d8f07a8e3083868f2 /sapi/apache2handler/sapi_apache2.c
parent12a42433b27bd2f3c28a496269610fe53c567310 (diff)
downloadphp-git-e6bf9b45dd91ee4681a5a9d718286e18761c2745.tar.gz
silence unused variable warning
Diffstat (limited to 'sapi/apache2handler/sapi_apache2.c')
-rw-r--r--sapi/apache2handler/sapi_apache2.c2
1 files changed, 1 insertions, 1 deletions
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