svn commit: r329580 - head/stand/lua

Kyle Evans kevans at FreeBSD.org
Mon Feb 19 15:49:28 UTC 2018


Author: kevans
Date: Mon Feb 19 15:49:27 2018
New Revision: 329580
URL: https://svnweb.freebsd.org/changeset/base/329580

Log:
  stand/lua: Remove some unused local declarations
  
  Menus are actually defined as entries in the 'menu' table. These local
  declarations have not been used in the history of our in-tree lua scripts,
  so give them the boot.

Modified:
  head/stand/lua/menu.lua

Modified: head/stand/lua/menu.lua
==============================================================================
--- head/stand/lua/menu.lua	Mon Feb 19 15:49:14 2018	(r329579)
+++ head/stand/lua/menu.lua	Mon Feb 19 15:49:27 2018	(r329580)
@@ -41,11 +41,7 @@ local run;
 local autoboot;
 local carousel_choices = {};
 
---loader menu tree:
---rooted at menu.welcome
---submenu declarations:
-local boot_options;
-local welcome;
+-- loader menu tree is rooted at menu.welcome
 
 menu.boot_options = {
 	-- return to welcome menu


More information about the svn-src-all mailing list