# HG changeset patch # User Kim Alvefur # Date 1577144983 -3600 # Node ID 3098eac31139c2f4326b7ffd4931d13afe76580b # Parent e8db377a2983de290bb8d12051244a4fc604aa4f mod_storage_sql: Remove unused and not actually returned return value [luacheck] The :delete throws an error, it does not return one like this. diff -r e8db377a2983 -r 3098eac31139 plugins/mod_storage_sql.lua --- a/plugins/mod_storage_sql.lua Tue Dec 24 00:39:45 2019 +0100 +++ b/plugins/mod_storage_sql.lua Tue Dec 24 00:49:43 2019 +0100 @@ -281,7 +281,7 @@ VALUES (?,?,?,?,?,?,?,?); ]]; if key then - local result, err = engine:delete(delete_sql, host, user or "", store, key); + local result = engine:delete(delete_sql, host, user or "", store, key); if result then item_count = item_count - result:affected(); end