]> git.kaiwu.me - njs.git/commit
VM: remove dead code introduced in fd54d52de557
authorDmitry Volyntsev <xeioex@nginx.com>
Sat, 12 Sep 2026 01:45:23 +0000 (18:45 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Mon, 14 Sep 2026 17:53:52 +0000 (10:53 -0700)
commitcb07cee0bbba4d0612e1a44e0ab8f0e6c6b5e890
tree882e19ea188e5be0dfa1fcf0ad501ca3246a5ca9
parent7ea5e94fc3c5b1c6bb7e65f3631b52031d609081
VM: remove dead code introduced in fd54d52de557

The lambda structure is allocated at the end of module compilation,
and if the allocation fails, lambda is NULL.  Since nothing fails after
a successful allocation, lambda is always NULL on the failed path.

Found by Coverity (CID 1701143).
src/njs_vm.c