Date: Sun, 12 Sep 2021 05:42:01 GMT From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: b359fcb1cb4f - stable/13 - lualoader: remove shadowed local from graphics:drawitem() Message-ID: <202109120542.18C5g1vF009289@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=b359fcb1cb4f68e6b171b1ac1c7db7d5d7d08973 commit b359fcb1cb4f68e6b171b1ac1c7db7d5d7d08973 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2021-09-08 21:32:53 +0000 Commit: Kyle Evans <kevans@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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109120542.18C5g1vF009289>