git: b359fcb1cb4f - stable/13 - lualoader: remove shadowed local from graphics:drawitem()
Kyle Evans
kevans at FreeBSD.org
Sun Sep 12 05:42:02 UTC 2021
The branch stable/13 has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=b359fcb1cb4f68e6b171b1ac1c7db7d5d7d08973
commit b359fcb1cb4f68e6b171b1ac1c7db7d5d7d08973
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-12 05:34:28 +0000
lualoader: remove shadowed local from graphics:drawitem()
for loop vars are local already and distinct from this earlier
declaration; remove it.
(cherry picked from commit 763bcebe0b6d5e53e5c8940a677de662e5652b6d)
---
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-branches
mailing list