mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08:00
Dynamic modules: removed unnecessary initialization.
It became unnecessary after 85dea406e18f.
This commit is contained in:
parent
7a10604ab6
commit
ea9a2cf2ba
@ -27,7 +27,6 @@ ngx_preinit_modules()
|
||||
{
|
||||
ngx_uint_t i;
|
||||
|
||||
ngx_max_module = 0;
|
||||
for (i = 0; ngx_modules[i]; i++) {
|
||||
ngx_modules[i]->index = i;
|
||||
ngx_modules[i]->name = ngx_module_names[i];
|
||||
|
Loading…
Reference in New Issue
Block a user