From: Dmitry Volyntsev Date: Fri, 22 May 2026 03:48:22 +0000 (-0700) Subject: Fixed compile failure reporting X-Git-Tag: 1.0.0~48 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=afe4c414e7116c895cfceff916d6fedc74678ef6;p=njs.git Fixed compile failure reporting --- diff --git a/src/njs_vm.c b/src/njs_vm.c index 0bd37ae3..6f40a622 100644 --- a/src/njs_vm.c +++ b/src/njs_vm.c @@ -276,7 +276,7 @@ njs_vm_compile(njs_vm_t *vm, u_char **start, u_char *end) new = njs_scope_make(vm, scope->items); if (njs_slow_path(new == NULL)) { - return ret; + return NJS_ERROR; } vm->levels[NJS_LEVEL_GLOBAL] = new;