From 651ee5eb19343ff6974dd307cbe4dff2ea8b86c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Thu, 14 Oct 2010 11:19:41 +0200 Subject: [PATCH] Fix unused variable warning in ejabberd_loglevel --- src/ejabberd_loglevel.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ejabberd_loglevel.erl b/src/ejabberd_loglevel.erl index 8f55ed09e..b56f665e2 100644 --- a/src/ejabberd_loglevel.erl +++ b/src/ejabberd_loglevel.erl @@ -98,7 +98,7 @@ set_custom(Module, Level) -> end. clear_custom() -> - {DefaultLevel, CustomLevels} = ejabberd_logger:get(), + {DefaultLevel, _CustomLevels} = ejabberd_logger:get(), set({DefaultLevel, []}). clear_custom(Module) ->