Fix dialyzer warning

This commit is contained in:
Gaith Hallak 2022-02-01 19:55:29 +04:00
parent e839218971
commit e93167c6c4

View File

@ -2850,7 +2850,6 @@ create_unused_functions() ->
ets_new(function_calls, [bag]), ets_new(function_calls, [bag]),
ets_new(all_functions, [set]). ets_new(all_functions, [set]).
register_function_call(_Caller, {proj, _, _, _}) -> ok;
register_function_call(Caller, Callee) -> register_function_call(Caller, Callee) ->
ets_insert(function_calls, {Caller, Callee}). ets_insert(function_calls, {Caller, Callee}).