]> git.kaiwu.me - njs.git/commitdiff
Removed unused vm->scratch field.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 18 Jan 2019 12:28:17 +0000 (15:28 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 18 Jan 2019 12:28:17 +0000 (15:28 +0300)
njs/njs_vm.h

index aa6a925fba66774c3d39b606c22e8858bf639496..f267b25d21eb50308d142c0a52a2e22e23c63a66 100644 (file)
@@ -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];