diff options
author | Kim Alvefur <zash@zash.se> | 2016-03-13 18:35:00 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-03-13 18:35:00 +0100 |
commit | f46a677512bbc57129de689c6ce2ae3b32278a09 (patch) | |
tree | 3e3c22085cdfde9c6cfc8dc3b80f00c0c6e6d820 /util | |
parent | 2b1ff306c3970d25100201ffe313cb307826bb3b (diff) | |
download | prosody-f46a677512bbc57129de689c6ce2ae3b32278a09.tar.gz prosody-f46a677512bbc57129de689c6ce2ae3b32278a09.zip |
util.sql: Remove unused arguments [luacheck]
Diffstat (limited to 'util')
-rw-r--r-- | util/sql.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sql.lua b/util/sql.lua index 43c65a19..dcf665fb 100644 --- a/util/sql.lua +++ b/util/sql.lua @@ -25,8 +25,8 @@ local function is_column(x) return getmetatable(x)==column_mt; end local function is_index(x) return getmetatable(x)==index_mt; end local function is_table(x) return getmetatable(x)==table_mt; end local function is_query(x) return getmetatable(x)==query_mt; end -local function Integer(n) return "Integer()" end -local function String(n) return "String()" end +local function Integer() return "Integer()" end +local function String() return "String()" end local function Column(definition) return setmetatable(definition, column_mt); |