com php-src: remove useless assignment: sapi/cgi/cgi_main.c

From: Date: Mon, 29 Jun 2015 05:33:20 +0000
Subject: com php-src: remove useless assignment: sapi/cgi/cgi_main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87588@lists.php.net to get a copy of this message
Commit: a1cf46bb1f68e9f5be9ac399bbebc779ba048ecd Author: Anatol Belski <ab@php.net> Sun, 28 Jun 2015 21:54:03 +0200 Parents: 8430ec1788350fc45bcb2d209ff8696972ca12d1 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a1cf46bb1f68e9f5be9ac399bbebc779ba048ecd Log: remove useless assignment Changed paths: M sapi/cgi/cgi_main.c Diff: diff --git a/sapi/cgi/cgi_main..c b/sapi/cgi/cgi_main.c index 529824b..cc04f34 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1721,10 +1721,6 @@ int main(int argc, char *argv[]) size_t ini_entries_len = 0; /* end of temporary locals */ -#ifdef ZTS - void ***tsrm_ls; -#endif - int max_requests = 500; int requests = 0; int fastcgi; @@ -1769,7 +1765,7 @@ int main(int argc, char *argv[]) #ifdef ZTS tsrm_startup(1, 1, 0, NULL); - tsrm_ls = ts_resource(0); + (void)ts_resource(0); ZEND_TSRMLS_CACHE_UPDATE(); #endif

« previous php.cvs (#87588) next »