git: 763bcebe0b6d - main - lualoader: remove shadowed local from graphics:drawitem()
Kyle Evans
kevans at FreeBSD.org
Thu Sep 9 07:02:21 UTC 2021
The branch main has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=763bcebe0b6d5e53e5c8940a677de662e5652b6d
commit 763bcebe0b6d5e53e5c8940a677de662e5652b6d
Author: Kyle Evans <kevans at FreeBSD.org>
AuthorDate: 2021-09-08 21:32:53 +0000
Commit: Kyle Evans <kevans at FreeBSD.org>
CommitDate: 2021-09-09 07:01:50 +0000
lualoader: remove shadowed local from graphics:drawitem()
for loop vars are local already and distinct from this earlier
declaration; remove it.
---
stand/lua/drawer.lua | 1 -
1 file changed, 1 deletion(-)
diff --git a/stand/lua/drawer.lua b/stand/lua/drawer.lua
index 6324c2262c11..b592b416033d 100644
--- a/stand/lua/drawer.lua
+++ b/stand/lua/drawer.lua
@@ -377,7 +377,6 @@ end
local function drawitem(func)
local console = loader.getenv("console")
- local c
for c in string.gmatch(console, "%w+") do
loader.setenv("console", c)
More information about the dev-commits-src-main
mailing list