Welcome! Log In Create A New Profile

Advanced

[njs] Removed unused njs_global_variable_value().

Dmitry Volyntsev
August 01, 2019 09:44AM
details: https://hg.nginx.org/njs/rev/cd56dad88801
branches:
changeset: 1088:cd56dad88801
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Thu Aug 01 16:41:36 2019 +0300
description:
Removed unused njs_global_variable_value().

diffstat:

src/njs_variable.h | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)

diffs (15 lines):

diff -r f4ac8168e856 -r cd56dad88801 src/njs_variable.h
--- a/src/njs_variable.h Tue Jul 30 21:12:08 2019 +0300
+++ b/src/njs_variable.h Thu Aug 01 16:41:36 2019 +0300
@@ -31,11 +31,6 @@ typedef struct {
} njs_variable_t;


-#define njs_global_variable_value(vm, var) \
- (njs_value_t *) ((u_char *) vm->global_scope \
- + njs_scope_offset((var)->index) - NJS_INDEX_GLOBAL_OFFSET)
-
-
typedef enum {
NJS_DECLARATION = 0,
NJS_REFERENCE,
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Removed unused njs_global_variable_value().

Dmitry Volyntsev 238 August 01, 2019 09:44AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready