mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +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;
|
ok;
|
||||||
warn_type({var, _, 'NS'}, #state{module = mod_delegation}, "not a binary") ->
|
warn_type({var, _, 'NS'}, #state{module = mod_delegation}, "not a binary") ->
|
||||||
ok;
|
ok;
|
||||||
|
warn_type({var, _, _}, #state{module = gen_mod}, _) ->
|
||||||
|
ok;
|
||||||
warn_type(Form, State, Warning) ->
|
warn_type(Form, State, Warning) ->
|
||||||
log("~s:~p: Warning: " ++ Warning ++ ": ~s~n",
|
log("~s:~p: Warning: " ++ Warning ++ ": ~s~n",
|
||||||
[State#state.file,
|
[State#state.file,
|
||||||
|
Loading…
Reference in New Issue
Block a user