Просмотр исходного кода

fix(emqx_auth_mnesia_app): Dialyzer warnings

ayodele.akingbule 5 лет назад
Родитель
Сommit
9db6b3b430
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      apps/emqx_auth_mnesia/src/emqx_auth_mnesia_app.erl

+ 2 - 2
apps/emqx_auth_mnesia/src/emqx_auth_mnesia_app.erl

@@ -38,8 +38,8 @@ start(_StartType, _StartArgs) ->
     emqx_ctl:register_command(username, {emqx_auth_mnesia_cli, auth_username_cli}, []),
     emqx_ctl:register_command(username, {emqx_auth_mnesia_cli, auth_username_cli}, []),
     emqx_ctl:register_command(user, {emqx_auth_mnesia_cli, auth_username_cli}, []),
     emqx_ctl:register_command(user, {emqx_auth_mnesia_cli, auth_username_cli}, []),
     emqx_ctl:register_command(acl, {emqx_acl_mnesia_cli, cli}, []),
     emqx_ctl:register_command(acl, {emqx_acl_mnesia_cli, cli}, []),
-    load_auth_hook(),
-    load_acl_hook(),
+    _ = load_auth_hook(),
+    _ = load_acl_hook(),
     {ok, Sup}.
     {ok, Sup}.
 
 
 prep_stop(State) ->
 prep_stop(State) ->