fix(emqx_acl_mnesia): Dialyzer warnings

This commit is contained in:
ayodele.akingbule 2020-12-10 13:22:07 +01:00 committed by Zaiming Shi
parent b08d9d5d9b
commit 5644fdc1f0
1 changed files with 2 additions and 8 deletions

View File

@ -202,12 +202,6 @@ do_validation(login, {clientid, V}) when is_binary(V)
do_validation(login, {username, V}) when is_binary(V) do_validation(login, {username, V}) when is_binary(V)
andalso byte_size(V) > 0-> andalso byte_size(V) > 0->
true; true;
do_validation(clientid, V) when is_binary(V)
andalso byte_size(V) > 0 ->
true;
do_validation(username, V) when is_binary(V)
andalso byte_size(V) > 0 ->
true;
do_validation(topic, V) when is_binary(V) do_validation(topic, V) when is_binary(V)
andalso byte_size(V) > 0 -> andalso byte_size(V) > 0 ->
true; true;