Software /
code /
prosody
Comparison
util/serialization.lua @ 6670:5e72f7aadbcc
util.serialization: Remove unused imports of error() and loadstring() [luacheck]
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 06 May 2015 19:40:48 +0100 |
parent | 5776:bd0ff8ae98a8 |
child | 6777:5de6b93d0190 |
comparison
equal
deleted
inserted
replaced
6669:7da8b6bc0966 | 6670:5e72f7aadbcc |
---|---|
9 local string_rep = string.rep; | 9 local string_rep = string.rep; |
10 local type = type; | 10 local type = type; |
11 local tostring = tostring; | 11 local tostring = tostring; |
12 local t_insert = table.insert; | 12 local t_insert = table.insert; |
13 local t_concat = table.concat; | 13 local t_concat = table.concat; |
14 local error = error; | |
15 local pairs = pairs; | 14 local pairs = pairs; |
16 local next = next; | 15 local next = next; |
17 | 16 |
18 local loadstring = loadstring; | |
19 local pcall = pcall; | 17 local pcall = pcall; |
20 | 18 |
21 local debug_traceback = debug.traceback; | 19 local debug_traceback = debug.traceback; |
22 local log = require "util.logger".init("serialization"); | 20 local log = require "util.logger".init("serialization"); |
23 local envload = require"util.envload".envload; | 21 local envload = require"util.envload".envload; |