aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-01-26 03:39:53 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-01-26 03:39:53 +0500
commit32befbdd6e47b0511b2a9d9028b291e567ddf853 (patch)
treeca6cab1f2826203f09ff59c8c95b7be81cf012ee /core
parentb713b42e1b055f706677dd8c18e0fea6a25431fa (diff)
downloadprosody-32befbdd6e47b0511b2a9d9028b291e567ddf853.tar.gz
prosody-32befbdd6e47b0511b2a9d9028b291e567ddf853.zip
xmlhandlers: Removed unused variables.
Diffstat (limited to 'core')
-rw-r--r--core/xmlhandlers.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/xmlhandlers.lua b/core/xmlhandlers.lua
index 5d565845..77f00bea 100644
--- a/core/xmlhandlers.lua
+++ b/core/xmlhandlers.lua
@@ -12,8 +12,6 @@ require "util.stanza"
local st = stanza;
local tostring = tostring;
-local pairs = pairs;
-local ipairs = ipairs;
local t_insert = table.insert;
local t_concat = table.concat;
@@ -33,8 +31,6 @@ local ns_separator = "\1";
local ns_pattern = "^([^"..ns_separator.."]*)"..ns_separator.."?(.*)$";
function init_xmlhandlers(session, stream_callbacks)
- local ns_stack = { "" };
- local curr_tag;
local chardata = {};
local xml_handlers = {};
local log = session.log or default_log;
@@ -97,7 +93,6 @@ function init_xmlhandlers(session, stream_callbacks)
end
stanza = st.stanza(name, attr);
- curr_tag = stanza;
else -- we are inside a stanza, so add a tag
attr.xmlns = nil;
if curr_ns ~= stream_default_ns then