From b978a479256916d44d7240803fe896ddbeece8c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Wed, 3 Jul 2024 15:55:48 +0200 Subject: [PATCH] Fix unused variable warning --- src/ejabberd_web_admin.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ejabberd_web_admin.erl b/src/ejabberd_web_admin.erl index 0331b1329ad..0183148984b 100644 --- a/src/ejabberd_web_admin.erl +++ b/src/ejabberd_web_admin.erl @@ -1685,8 +1685,7 @@ make_command2(Name, Request, BaseArguments, Options) -> TO = proplists:get_value(table_options, Options, {999999, []}), Style = proplists:get_value(style, Options, normal), #request{us = {RUser, RServer}, - ip = RIp, - host = RHost} = + ip = RIp} = Request, CallerInfo = #{usr => {RUser, RServer, <<"">>},