aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_http_js_module.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2017-06-28 15:31:36 +0300
committerDmitry Volyntsev <xeioex@nginx.com>2017-06-28 15:31:36 +0300
commit9fe78d60dfdf6a37f1dd4958010c54c86c736e46 (patch)
treec95d28666b35c4dbe60ad2ea422b5f10a9f1e9dc /nginx/ngx_http_js_module.c
parentdc13599a1cf1ea42de3976331ac37cc3f3d747a7 (diff)
downloadnjs-9fe78d60dfdf6a37f1dd4958010c54c86c736e46.tar.gz
njs-9fe78d60dfdf6a37f1dd4958010c54c86c736e46.zip
Removed unused njs_vm_export_functions().
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r--nginx/ngx_http_js_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c
index 306c5f3b..73b28494 100644
--- a/nginx/ngx_http_js_module.c
+++ b/nginx/ngx_http_js_module.c
@@ -1230,7 +1230,7 @@ ngx_http_js_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ngx_fd_t fd;
ngx_str_t *value, file;
nxt_int_t rc;
- nxt_str_t text, ext, *export;
+ nxt_str_t text, ext;
nxt_lvlhsh_t externals;
ngx_file_info_t fi;
njs_vm_shared_t *shared;
@@ -1327,7 +1327,7 @@ ngx_http_js_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
return NGX_CONF_ERROR;
}
- rc = njs_vm_compile(jlcf->vm, &start, end, &export);
+ rc = njs_vm_compile(jlcf->vm, &start, end);
if (rc != NJS_OK) {
njs_vm_exception(jlcf->vm, &text);