Skip to content

Commit a1cf46b

Browse files
committed
remove useless assignment
1 parent 8430ec1 commit a1cf46b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎sapi/cgi/cgi_main.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,10 +1721,6 @@ int main(int argc, char *argv[])
17211721
size_t ini_entries_len = 0;
17221722
/* end of temporary locals */
17231723

1724-
#ifdef ZTS
1725-
void ***tsrm_ls;
1726-
#endif
1727-
17281724
int max_requests = 500;
17291725
int requests = 0;
17301726
int fastcgi;
@@ -1769,7 +1765,7 @@ int main(int argc, char *argv[])
17691765

17701766
#ifdef ZTS
17711767
tsrm_startup(1, 1, 0, NULL);
1772-
tsrm_ls = ts_resource(0);
1768+
(void)ts_resource(0);
17731769
ZEND_TSRMLS_CACHE_UPDATE();
17741770
#endif
17751771

0 commit comments

Comments
 (0)