Fix return type problem

This commit is contained in:
Maas-Maarten Zeeman
2022-01-04 11:00:28 +01:00
parent 4e56d6cb9c
commit 1428e5396c
2 changed files with 19 additions and 3 deletions

View File

@@ -24,6 +24,9 @@ CFlags =
[
{require_min_otp_vsn, "21"},
{xref_checks, [undefined_function_calls]},
{port_env, [
%% Default darwin ldflags causes loading of system sqlite. Removed -bundle flag.
{"darwin", "DRV_LDFLAGS",
@@ -46,5 +49,14 @@ CFlags =
{provider_hooks,
[{post,
[{compile, {pc, compile}},
{clean, {pc, clean}}]}]}
{clean, {pc, clean}}]}]},
{dialyzer, [
{warnings, [
unmatched_returns,
error_handling,
race_conditions
% underspecs
]}
]}
].