Diff

core/configmanager.lua @ 6714:429068c24ea0

configmanager: Remove unnecessary function localizations [luacheck]
author Matthew Wild <mwild1@gmail.com>
date Mon, 18 May 2015 19:05:08 +0100
parent 6713:b628870b1bd6
child 6715:03a283aa679e
line wrap: on
line diff
--- a/core/configmanager.lua	Mon May 18 19:04:37 2015 +0100
+++ b/core/configmanager.lua	Mon May 18 19:05:08 2015 +0100
@@ -119,8 +119,7 @@
 
 -- Built-in Lua parser
 do
-	local pcall, setmetatable = _G.pcall, _G.setmetatable;
-	local rawget = _G.rawget;
+	local pcall = _G.pcall;
 	parsers.lua = {};
 	function parsers.lua.load(data, config_file, config)
 		local env;