Changeset

2508:03f6d9ed2903

mod_mam/fallback_archive: Remove unused variables
author Kim Alvefur <zash@zash.se>
date Mon, 20 Feb 2017 00:05:48 +0100
parents 2507:b8a66805459e
children 2509:34ec7bde5203
files mod_mam/fallback_archive.lib.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_mam/fallback_archive.lib.lua	Mon Feb 20 00:05:14 2017 +0100
+++ b/mod_mam/fallback_archive.lib.lua	Mon Feb 20 00:05:48 2017 +0100
@@ -65,7 +65,6 @@
 	local archive = store[username];
 	if not archive then return true; end -- no messages, nothing to delete
 
-	local start, stop, step = 1, archive[0] or #archive, 1;
 	local qstart = query.start or -math.huge;
 	local qend = query["end"] or math.huge;
 	local qwith = query.with;