Skip to content

Commit 1721af8

Browse files
Exclude these two from Dialyzer #15271
1 parent 283aa0e commit 1721af8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

deps/rabbit/src/rabbit_maintenance.erl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
maintenance_status/0
4747
]).
4848

49+
%% Federation is a special case; exclude these from Dialyzer since
50+
%% these modules won't be available in the 'rabbit' app but
51+
%% their use is guarded by 'rabbit_plugins:is_enabled/1'.
52+
-dialyzer({nowarn_function, [disconnect_federation_links/0,
53+
reconnect_federation_links/0]}).
54+
4955
%%
5056
%% Boot
5157
%%

0 commit comments

Comments
 (0)