mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
hooks_deps: Hide false-positive warnings about gen_mod
This commit is contained in:
parent
15d73b9d20
commit
4a931b42ab
@ -305,6 +305,8 @@ 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({var, _, _}, #state{module = gen_mod}, _) ->
|
||||
ok;
|
||||
warn_type(Form, State, Warning) ->
|
||||
log("~s:~p: Warning: " ++ Warning ++ ": ~s~n",
|
||||
[State#state.file,
|
||||
|
Loading…
Reference in New Issue
Block a user