changeset 2661:1d734acabd46

mod_storage_memory: Ignore unused 'self' [luacheck]
author Kim Alvefur <zash@zash.se>
date Thu, 30 Mar 2017 23:47:03 +0200
parents 796ace2c8f9d
children 2d5e0e2938d1
files mod_storage_memory/mod_storage_memory.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);