mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
makesyscalls.lua: Minor fluff removal
luacheck pointed out two minor issues: line isn't declared as a global, so declare it local. Also remove an unused parameter. Suggested by: kevans Sponsored by: Netflix
This commit is contained in:
parent
8341a74afe
commit
c1e987e062
@ -522,7 +522,7 @@ local pattern_table = {
|
||||
pattern = "%%ABI_HEADERS%%",
|
||||
process = function()
|
||||
if config.abi_headers ~= "" then
|
||||
line = config.abi_headers .. "\n"
|
||||
local line = config.abi_headers .. "\n"
|
||||
write_line("sysinc", line)
|
||||
end
|
||||
end,
|
||||
@ -1052,7 +1052,7 @@ local function handle_unimpl(sysnum, sysstart, sysend, comment)
|
||||
end
|
||||
end
|
||||
|
||||
local function handle_reserved(sysnum, sysstart, sysend, comment)
|
||||
local function handle_reserved(sysnum, sysstart, sysend)
|
||||
handle_unimpl(sysnum, sysstart, sysend, "reserved for local use")
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user