Comparison

core/xmlhandlers.lua @ 1153:1184cb19b6f2

core.xmlhandlers: Removed unused variables
author Waqas Hussain <waqas20@gmail.com>
date Fri, 15 May 2009 07:24:16 +0500
parent 1051:0327c569eb1a
child 1154:570c0427fcb8
comparison
equal deleted inserted replaced
1152:4d95e8078405 1153:1184cb19b6f2
13 local st = stanza; 13 local st = stanza;
14 local tostring = tostring; 14 local tostring = tostring;
15 local pairs = pairs; 15 local pairs = pairs;
16 local ipairs = ipairs; 16 local ipairs = ipairs;
17 local type = type; 17 local type = type;
18 local print = print;
19 local format = string.format;
20 local m_random = math.random;
21 local t_insert = table.insert; 18 local t_insert = table.insert;
22 local t_remove = table.remove;
23 local t_concat = table.concat; 19 local t_concat = table.concat;
24 local t_concatall = function (t, sep) local tt = {}; for _, s in ipairs(t) do t_insert(tt, tostring(s)); end return t_concat(tt, sep); end
25 local sm_destroy_session = import("core.sessionmanager", "destroy_session");
26 20
27 local default_log = require "util.logger".init("xmlhandlers"); 21 local default_log = require "util.logger".init("xmlhandlers");
28 22
29 local error = error; 23 local error = error;
30 24