Skip to content

Commit

Permalink
chore(*): removed two unnecessary local variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bungle committed Aug 7, 2024
1 parent 439f8d1 commit 8080211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions lib/resty/ada.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ local ada_string_to_lua = utils.ada_string_to_lua
local ada_owned_string_to_lua = utils.ada_owned_string_to_lua



local ffi = require("ffi")
local ffi_gc = ffi.gc
local ffi_gc = require("ffi").gc


local fmt = string.format
Expand Down
3 changes: 1 addition & 2 deletions lib/resty/ada/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ local lib = require("resty.ada.lib")
local new_tab = require("table.new")


local ffi = require("ffi")
local ffi_str = ffi.string
local ffi_str = require("ffi").string


local tonumber = tonumber
Expand Down

0 comments on commit 8080211

Please sign in to comment.