fix(emqx_lwm2m_app): Dialyzer warnings

This commit is contained in:
ayodele.akingbule 2020-11-23 23:15:32 +01:00 committed by Zaiming Shi
parent a03d7045cf
commit 18ddde0174
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@
start(_Type, _Args) ->
Pid = emqx_lwm2m_sup:start_link(),
lwm2m_coap_server:start_registry(),
_ = lwm2m_coap_server:start_registry(),
lwm2m_coap_server_registry:add_handler([<<"rd">>], emqx_lwm2m_coap_resource, undefined),
emqx_lwm2m_coap_server:start(application:get_all_env(?APP)),
Pid.