Browse Source

gluon-web-*: remove unused Section variables (#1150)

Ruben Barkow 6 years ago
parent
commit
b44373efaf

+ 1 - 1
package/gluon-config-mode-autoupdater/luasrc/lib/gluon/config-mode/wizard/0050-autoupdater-info.lua

@@ -1,6 +1,6 @@
 return function(form, uci)
 	if uci:get_bool("autoupdater", "settings", "enabled") then
-		local s = form:section(
+		form:section(
 			Section, nil,
 			translate('This node will automatically update its firmware when a new version is available.')
 		)

+ 1 - 1
package/gluon-web-wifi-config/luasrc/lib/gluon/web/model/admin/wifi-config.lua

@@ -28,7 +28,7 @@ end
 
 local f = Form(translate("WLAN"))
 
-local s = f:section(Section, nil, translate(
+f:section(Section, nil, translate(
 	"You can enable or disable your node's client and mesh network "
 	.. "SSIDs here. Please don't disable the mesh network without "
 	.. "a good reason, so other nodes can mesh with yours.<br /><br />"