Browse Source

fix(emqx_auth_mysql_app): Dialyzer warnings

ayodele.akingbule 5 năm trước cách đây
mục cha
commit
0e24e59366
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      apps/emqx_auth_mysql/src/emqx_auth_mysql_app.erl

+ 2 - 2
apps/emqx_auth_mysql/src/emqx_auth_mysql_app.erl

@@ -36,8 +36,8 @@
 
 start(_StartType, _StartArgs) ->
     {ok, Sup} = emqx_auth_mysql_sup:start_link(),
-    if_enabled(auth_query, fun load_auth_hook/1),
-    if_enabled(acl_query,  fun load_acl_hook/1),
+    _ = if_enabled(auth_query, fun load_auth_hook/1),
+    _ = if_enabled(acl_query,  fun load_acl_hook/1),
 
     {ok, Sup}.