Skip to content

Commit 730f7f1

Browse files
thibaultchaagentzh
authored andcommitted
optimize: resty.core.shdict: removed one unused top-level Lua variable.
Signed-off-by: Yichun Zhang (agentzh) <[email protected]>
1 parent bd7ab97 commit 730f7f1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/resty/core/shdict.lua

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ local ngx_shared = ngx.shared
1919
local getmetatable = getmetatable
2020

2121

22-
local MAX_ERR_MSG_LEN = 128
23-
24-
2522
ffi.cdef[[
2623
int ngx_http_lua_ffi_shdict_get(void *zone, const unsigned char *key,
2724
size_t key_len, int *value_type, unsigned char **str_value_buf,

0 commit comments

Comments
 (0)