25
1
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:
Badlop 2024-09-24 12:37:06 +02:00
parent 15d73b9d20
commit 4a931b42ab

View File

@ -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,