Author: kevans
Date: Sat Feb 24 03:48:52 2018
New Revision: 329902
URL: https://svnweb.freebsd.org/changeset/base/329902

Log:
  lualoader: Remove unused variable; we now use the effective line number

Modified:
  head/stand/lua/drawer.lua

Modified: head/stand/lua/drawer.lua
==============================================================================
--- head/stand/lua/drawer.lua   Sat Feb 24 03:47:04 2018        (r329901)
+++ head/stand/lua/drawer.lua   Sat Feb 24 03:48:52 2018        (r329902)
@@ -277,7 +277,7 @@ function drawer.drawmenu(m)
        if type(menu_entries) == "function" then
                menu_entries = menu_entries()
        end
-       for line_num, e in ipairs(menu_entries) do
+       for _, e in ipairs(menu_entries) do
                -- Allow menu items to be conditionally visible by specifying
                -- a visible function.
                if e.visible ~= nil and not e.visible() then
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to