Skip to content

Commit

Permalink
Fix dialyzer warning on acceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
priestjim committed Oct 4, 2016
1 parent 619cc94 commit 22c671f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gen_rpc_acceptor.erl
Expand Up @@ -24,7 +24,7 @@
driver_closed :: atom(),
driver_error :: atom(),
peer :: {inet:ip4_address(), inet:port_number()},
control :: whitelist | blacklist | undefined,
control :: whitelist | blacklist | disabled,
list :: sets:set() | undefined}).

%%% Ignore dialyzer warning for call_middleman
Expand Down Expand Up @@ -260,7 +260,7 @@ call_middleman(M, F, A) ->
ok.

%% Check if the function is RPC-enabled
check_if_module_allowed(_DriverMod, disabled, _List) ->
check_if_module_allowed(_Module, disabled, _List) ->
true;

check_if_module_allowed(Module, whitelist, List) ->
Expand Down

0 comments on commit 22c671f

Please sign in to comment.