summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/statistics
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-statistics/luasrc/statistics')
-rw-r--r--applications/luci-statistics/luasrc/statistics/datatree.lua2
-rw-r--r--applications/luci-statistics/luasrc/statistics/rrdtool.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/datatree.lua b/applications/luci-statistics/luasrc/statistics/datatree.lua
index e3c9e34bb..ba6d7740b 100644
--- a/applications/luci-statistics/luasrc/statistics/datatree.lua
+++ b/applications/luci-statistics/luasrc/statistics/datatree.lua
@@ -4,7 +4,7 @@ local util = require("luci.util")
local sys = require("luci.sys")
local fs = require("luci.fs")
local uci = require("luci.model.uci").Session()
-local sections, names = uci:sections( "luci_statistics" )
+local sections = uci:sections( "luci_statistics" )
Instance = util.class()
diff --git a/applications/luci-statistics/luasrc/statistics/rrdtool.lua b/applications/luci-statistics/luasrc/statistics/rrdtool.lua
index c2ac7a8e6..5f07a41ff 100644
--- a/applications/luci-statistics/luasrc/statistics/rrdtool.lua
+++ b/applications/luci-statistics/luasrc/statistics/rrdtool.lua
@@ -17,7 +17,7 @@ function Graph.__init__( self, timespan, opts )
opts = opts or { }
local uci = luci.model.uci.Session()
- local sections, names = uci:sections( "luci_statistics" )
+ local sections = uci:sections( "luci_statistics" )
-- helper classes
self.colors = luci.statistics.rrdtool.colors.Instance()