Skip to content

Commit

Permalink
Drop unused local bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi authored and josephwright committed Dec 26, 2023
1 parent 5d99fcc commit 7085c50
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions l3build-file-functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ for those people who are interested.
--]]

local pairs = pairs
local print = print

local open = io.open
Expand All @@ -43,7 +42,6 @@ local luatex_version = status.luatex_version

local match = string.match
local sub = string.sub
local gmatch = string.gmatch
local gsub = string.gsub

local insert = table.insert
Expand Down
1 change: 0 additions & 1 deletion l3build-install.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ local var_value = kpse.var_value
local gsub = string.gsub
local lower = string.lower
local match = string.match
local format = string.format

local insert = table.insert

Expand Down
2 changes: 0 additions & 2 deletions l3build-upload.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ local popen = io.popen
local read = io.read
local write = io.write

local os_type = os.type

local len = string.len
local lower = string.lower
local match = string.match
Expand Down
4 changes: 0 additions & 4 deletions l3build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,15 @@ local lfs = require("lfs")

-- Local access to functions

local assert = assert
local ipairs = ipairs
local insert = table.insert
local lookup = kpse.lookup
local match = string.match
local gsub = string.gsub
local next = next
local print = print
local select = select
local tonumber = tonumber
local exit = os.exit
local open = io.open
local stdout = io.stdout

-- l3build setup and functions
kpse.set_program_name("kpsewhich")
Expand Down

0 comments on commit 7085c50

Please sign in to comment.