fix: dialyzer warnings for community edition

This commit is contained in:
Kjell Winblad 2023-10-24 11:12:49 +02:00 committed by Zaiming (Stone) Shi
parent a847b043df
commit 6c6c2e0cff
2 changed files with 4 additions and 0 deletions

View File

@ -105,6 +105,8 @@ namespace() -> "bridges_v2".
tags() -> tags() ->
[<<"Bridge V2">>]. [<<"Bridge V2">>].
-dialyzer({nowarn_function, roots/0}).
roots() -> roots() ->
case fields(bridges_v2) of case fields(bridges_v2) of
[] -> []; [] -> [];

View File

@ -254,6 +254,8 @@ namespace() -> "connector".
tags() -> tags() ->
[<<"Connector">>]. [<<"Connector">>].
-dialyzer({nowarn_function, roots/0}).
roots() -> roots() ->
case fields(connectors) of case fields(connectors) of
[] -> []; [] -> [];