Welcome! Log In Create A New Profile

Advanced

[njs] Modules: removed not needed previous location initialization.

Anonymous User
June 28, 2024 10:54PM
details: https://hg.nginx.org/njs/rev/5b5f45340f9f
branches:
changeset: 2360:5b5f45340f9f
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Mon Jun 17 21:35:02 2024 -0700
description:
Modules: removed not needed previous location initialization.

diffstat:

nginx/ngx_js.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)

diffs (16 lines):

diff -r a419f9189f55 -r 5b5f45340f9f nginx/ngx_js.c
--- a/nginx/ngx_js.c Mon Jun 24 17:09:07 2024 -0700
+++ b/nginx/ngx_js.c Mon Jun 17 21:35:02 2024 -0700
@@ -1542,12 +1542,6 @@ ngx_js_merge_vm(ngx_conf_t *cf, ngx_js_l
ngx_array_t *imports, *preload_objects, *paths;
ngx_js_named_path_t *import, *pi, *pij, *preload;

- if (prev->imports != NGX_CONF_UNSET_PTR && prev->vm == NULL) {
- if (init_vm(cf, (ngx_js_loc_conf_t *) prev) != NGX_OK) {
- return NGX_ERROR;
- }
- }
-
if (conf->imports == NGX_CONF_UNSET_PTR
&& conf->paths == NGX_CONF_UNSET_PTR
&& conf->preload_objects == NGX_CONF_UNSET_PTR)
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Modules: removed not needed previous location initialization.

Anonymous User 160 June 28, 2024 10:54PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 364
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready