mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
lualoader: Fix up some luacheck concerns
- Garbage collect an unused (removed because it was useless) constant - Don't bother with vararg notation if args will not be used MFC after: 1 week
This commit is contained in:
parent
c206dd4d81
commit
8f7f3d08ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345518
|
@ -45,7 +45,6 @@ local MSG_FAILOPENCFG = "Failed to open config: '%s'"
|
|||
local MSG_FAILREADCFG = "Failed to read config: '%s'"
|
||||
local MSG_FAILPARSECFG = "Failed to parse config: '%s'"
|
||||
local MSG_FAILEXBEF = "Failed to execute '%s' before loading '%s'"
|
||||
local MSG_FAILEXMOD = "Failed to execute '%s'"
|
||||
local MSG_FAILEXAF = "Failed to execute '%s' after loading '%s'"
|
||||
local MSG_MALFORMED = "Malformed line (%d):\n\t'%s'"
|
||||
local MSG_DEFAULTKERNFAIL = "No kernel set, failed to load from module_path"
|
||||
|
|
|
@ -494,7 +494,7 @@ function menu.autoboot(delay)
|
|||
end
|
||||
|
||||
-- CLI commands
|
||||
function cli.menu(...)
|
||||
function cli.menu()
|
||||
menu.run()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue