Mercurial > prosody-hg
comparison util/stanza.lua @ 4749:b9de59ea8dad
util.stanza: Remove unused function imports
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 28 Apr 2012 02:38:56 +0100 |
| parents | 2ee422bdafbe |
| children | 92c86e11fd44 |
comparison
equal
deleted
inserted
replaced
| 4748:1099ff8d9f76 | 4749:b9de59ea8dad |
|---|---|
| 6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
| 7 -- | 7 -- |
| 8 | 8 |
| 9 | 9 |
| 10 local t_insert = table.insert; | 10 local t_insert = table.insert; |
| 11 local t_concat = table.concat; | |
| 12 local t_remove = table.remove; | 11 local t_remove = table.remove; |
| 13 local t_concat = table.concat; | 12 local t_concat = table.concat; |
| 14 local s_format = string.format; | 13 local s_format = string.format; |
| 15 local s_match = string.match; | 14 local s_match = string.match; |
| 16 local tostring = tostring; | 15 local tostring = tostring; |
| 17 local setmetatable = setmetatable; | 16 local setmetatable = setmetatable; |
| 18 local getmetatable = getmetatable; | |
| 19 local pairs = pairs; | 17 local pairs = pairs; |
| 20 local ipairs = ipairs; | 18 local ipairs = ipairs; |
| 21 local type = type; | 19 local type = type; |
| 22 local next = next; | |
| 23 local print = print; | |
| 24 local unpack = unpack; | |
| 25 local s_gsub = string.gsub; | 20 local s_gsub = string.gsub; |
| 26 local s_char = string.char; | |
| 27 local s_find = string.find; | 21 local s_find = string.find; |
| 28 local os = os; | 22 local os = os; |
| 29 | 23 |
| 30 local do_pretty_printing = not os.getenv("WINDIR"); | 24 local do_pretty_printing = not os.getenv("WINDIR"); |
| 31 local getstyle, getstring; | 25 local getstyle, getstring; |
