Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop unused local bindings #330

Merged
merged 1 commit into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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