mirror of
https://github.com/processone/ejabberd
synced 2025-10-04 02:09:33 +02:00
Fix some dialyzer warnings
This commit is contained in:
parent
9de2ca4568
commit
2d246f61dd
37 changed files with 49 additions and 258 deletions
|
@ -680,8 +680,7 @@ format({Key, Val}) when is_binary(Val) ->
|
|||
format({Key, Val}) -> % TODO: improve Yaml parsing
|
||||
{Key, Val}.
|
||||
|
||||
-spec opt_type(allow_contrib_modules) -> fun((boolean()) -> boolean());
|
||||
(atom()) -> [atom()].
|
||||
-spec opt_type(atom()) -> fun((any()) -> any()) | [atom()].
|
||||
opt_type(allow_contrib_modules) ->
|
||||
fun (false) -> false;
|
||||
(no) -> false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue