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() ->
[<<"Bridge V2">>].
-dialyzer({nowarn_function, roots/0}).
roots() ->
case fields(bridges_v2) of
[] -> [];

View File

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