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 | 85a09491d9ec8c93be3014964d5bc93d44759bfe (patch) | |
tree | 3e3c22085cdfde9c6cfc8dc3b80f00c0c6e6d820 /util | |
parent | c51163554308c18df6e85676db4a71ec4ac517c8 (diff) | |
download | prosody-85a09491d9ec8c93be3014964d5bc93d44759bfe.tar.gz prosody-85a09491d9ec8c93be3014964d5bc93d44759bfe.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); |