aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-03-13 18:35:00 +0100
committerKim Alvefur <zash@zash.se>2016-03-13 18:35:00 +0100
commit85a09491d9ec8c93be3014964d5bc93d44759bfe (patch)
tree3e3c22085cdfde9c6cfc8dc3b80f00c0c6e6d820 /util
parentc51163554308c18df6e85676db4a71ec4ac517c8 (diff)
downloadprosody-85a09491d9ec8c93be3014964d5bc93d44759bfe.tar.gz
prosody-85a09491d9ec8c93be3014964d5bc93d44759bfe.zip
util.sql: Remove unused arguments [luacheck]
Diffstat (limited to 'util')
-rw-r--r--util/sql.lua4
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);