fix(emqx_coap_registry): Dialyzer warnings

This commit is contained in:
ayodele.akingbule 2020-11-20 13:56:21 +01:00 committed by Zaiming Shi
parent 950430d5da
commit d54a5300fc
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ stop() ->
%% ------------------------------------------------------------------
init([]) ->
ets:new(?RESPONSE_TAB, [set, named_table, protected]),
ets:new(?RESPONSE_REF_TAB, [set, named_table, protected]),
_ = ets:new(?RESPONSE_TAB, [set, named_table, protected]),
_ = ets:new(?RESPONSE_REF_TAB, [set, named_table, protected]),
{ok, #state{}}.
handle_call({register_name, Name, Pid}, _From, State) ->