From afe4c414e7116c895cfceff916d6fedc74678ef6 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Thu, 21 May 2026 20:48:22 -0700 Subject: [PATCH] Fixed compile failure reporting --- src/njs_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3