mod_http_avatar: Remove unused variable. [luacheck]
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Fri, 01 Jun 2018 22:11:42 +0200
changeset 3087 46d71b38bc16
parent 3086 1cff081abbed
child 3088 5b4e7db5943c
mod_http_avatar: Remove unused variable. [luacheck]
mod_http_avatar/mod_http_avatar.lua
--- a/mod_http_avatar/mod_http_avatar.lua	Fri Jun 01 22:05:46 2018 +0200
+++ b/mod_http_avatar/mod_http_avatar.lua	Fri Jun 01 22:11:42 2018 +0200
@@ -16,7 +16,7 @@
 </svg>]];
 
 local function get_avatar(event, path)
-	local request, response = event.request, event.response;
+	local response = event.response;
 	local photo_type, binval;
 	local vcard, err = vcard_storage:get(path);
 	if vcard then