libs/uvl: local symbol error shadows error class declaration, drop it
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 18 Mar 2010 17:25:25 +0000 (17:25 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 18 Mar 2010 17:25:25 +0000 (17:25 +0000)
libs/uvl/luasrc/uvl/errors.lua

index 1aa3f7f0c3e90bc02a23c2b5a837426230d827ba..45f331f46f6cc55ead7799d3029f3c4993557be4 100644 (file)
@@ -19,11 +19,8 @@ local uvl = require "luci.uvl"
 local util = require "luci.util"
 local string = require "string"
 
-local ipairs, error, type = ipairs, error, type
-local tonumber, unpack = tonumber, unpack
-
-
-local luci = luci
+local luci, tonumber, unpack, ipairs, type =
+       luci, tonumber, unpack, ipairs, type
 
 module "luci.uvl.errors"