Skip to content

Commit 5e0b977

Browse files
committed
rabbit_upgrade_functions: Turn off export_all warning
Erlang 20.x warns if `export_all` is set in a module by default. We need to turn the warning off.
1 parent d34d403 commit 5e0b977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_upgrade_functions.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
%% If you are tempted to add include("rabbit.hrl"). here, don't. Using record
2020
%% defs here leads to pain later.
2121

22-
-compile([export_all]).
22+
-compile([nowarn_export_all, export_all]).
2323

2424
-rabbit_upgrade({remove_user_scope, mnesia, []}).
2525
-rabbit_upgrade({hash_passwords, mnesia, []}).

0 commit comments

Comments
 (0)