fix(emqx_auth_jwt_svr): Dialyzer warnings

This commit is contained in:
ayodele.akingbule 2020-12-10 13:08:16 +01:00 committed by Zaiming Shi
parent 6973837829
commit b08d9d5d9b
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ reset_timer(State = #state{intv = Intv}) ->
cancel_timer(State = #state{tref = undefined}) ->
State;
cancel_timer(State = #state{tref = TRef}) ->
erlang:cancel_timer(TRef),
_ = erlang:cancel_timer(TRef),
State#state{tref = undefined}.
do_verify(_JwsCompated, []) ->