Skip to content

Commit 98b46b2

Browse files
rabbit_env: pass Dialyzer again
1 parent 7e93cc8 commit 98b46b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/rabbit_common/src/rabbit_env.erl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,13 @@
2929
value_is_yes/1]).
3030
-endif.
3131

32+
%% Vary from OTP version to version
3233
-ignore_xref([
3334
{os, env, 0},
3435
{os, list_env_vars, 0}
3536
]).
37+
%% Relies on functions only available in certain OTP versions
38+
-dialyzer({nowarn_function, [env_vars/0]}).
3639

3740
-define(USED_ENV_VARS,
3841
[

0 commit comments

Comments
 (0)