fix(emqx_psk_file): Dialyzer warnings

This commit is contained in:
ayodele.akingbule 2020-11-23 21:41:55 +01:00 committed by Zaiming Shi
parent 01fe9d3ee7
commit 80f56654e2
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
%% Called when the plugin application start
load(Env) ->
ets:new(?TAB, [set, named_table, {keypos, #psk_entry.psk_id}]),
_ = ets:new(?TAB, [set, named_table, {keypos, #psk_entry.psk_id}]),
{ok, PskFile} = file:open(get_value(path, Env), [read, raw, binary, read_ahead]),
preload_psks(PskFile, bin(get_value(delimiter, Env))),
_ = file:close(PskFile),