mod_storage_memory: Ignore unused 'self' [luacheck]
authorKim Alvefur <zash@zash.se>
Thu, 30 Mar 2017 23:47:03 +0200
changeset 2665 1d734acabd46
parent 2664 796ace2c8f9d
child 2666 2d5e0e2938d1
mod_storage_memory: Ignore unused 'self' [luacheck]
mod_storage_memory/mod_storage_memory.lua
--- a/mod_storage_memory/mod_storage_memory.lua	Thu Mar 30 23:46:13 2017 +0200
+++ b/mod_storage_memory/mod_storage_memory.lua	Thu Mar 30 23:47:03 2017 +0200
@@ -142,7 +142,7 @@
 
 local driver = {};
 
-function driver:open(store, typ)
+function driver:open(store, typ) -- luacheck: ignore 212/self
 	local store_mt = stores[typ or "keyval"];
 	if store_mt then
 		return setmetatable({ store = memory[store] }, store_mt);