From 081960e0d39d68c2b83bbf57372c06f972b2d888 Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Fri, 18 Jan 2019 15:28:17 +0300 Subject: [PATCH] Removed unused vm->scratch field. --- njs/njs_vm.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/njs/njs_vm.h b/njs/njs_vm.h index aa6a925f..f267b25d 100644 --- a/njs/njs_vm.h +++ b/njs/njs_vm.h @@ -1021,12 +1021,6 @@ struct njs_vm_s { /* njs_vm_t must be aligned to njs_value_t due to scratch value. */ njs_value_t retval; - /* - * The scratch value is used for lvalue operations on nonexistent - * properties of non-object values: "a = 1; a.b++". - */ - njs_value_t scratch; - u_char *current; njs_value_t *scopes[NJS_SCOPES]; -- 2.47.3