diff options
author | Badlop <badlop@process-one.net> | 2020-05-07 22:29:54 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-05-07 22:29:54 +0200 |
commit | 64c09c20ebbeb3511cf372386c3140286d1edd8a (patch) | |
tree | f0a4aefacd333678d883d1b351526bc3dec017cb /tools | |
parent | Remove ancient and rather useless incode ejabberd_commands documentation (diff) |
Hide false-positive warnings about mod_delegation Type atom and NS binary
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/hook_deps.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/hook_deps.sh b/tools/hook_deps.sh index 1df963d7..00aa044a 100755 --- a/tools/hook_deps.sh +++ b/tools/hook_deps.sh @@ -301,6 +301,10 @@ is_exported(Mod, Fun, Arity, Exports) -> catch _:{badkey, _} -> false end. +warn_type({var, _, 'Type'}, #state{module = mod_delegation}, "not an atom") -> + ok; +warn_type({var, _, 'NS'}, #state{module = mod_delegation}, "not a binary") -> + ok; warn_type(Form, State, Warning) -> log("~s:~p: Warning: " ++ Warning ++ ": ~s~n", [State#state.file, |