Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 15:49:27 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329580 - head/stand/lua
Message-ID:  <201802191549.w1JFnRt4074070@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802191549.w1JFnRt4074070>