Skip to content

Commit

Permalink
Ignore deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuratczyk committed May 9, 2024
1 parent a855489 commit 1431bbf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/rabbit/src/rabbit.erl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

-behaviour(application).

-compile({nowarn_deprecated_function, [{code, lib_dir, 2}]}).

-export([start/0, boot/0, stop/0,
stop_and_halt/0, await_startup/0, await_startup/1, await_startup/3,
status/0, is_running/0, is_serving/0, alarms/0,
Expand Down
1 change: 1 addition & 0 deletions deps/rabbit/src/rabbit_fifo_dlx_worker.erl
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
-include_lib("rabbit_common/include/rabbit.hrl").
% -include_lib("rabbit_common/include/rabbit_framing.hrl").

-compile(nowarn_deprecated_callback).
-behaviour(gen_server).

-export([start_link/1]).
Expand Down
1 change: 1 addition & 0 deletions deps/rabbit/src/rabbit_tracking_store.erl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
%%
-module(rabbit_tracking_store).

-compile(nowarn_deprecated_callback).
-behaviour(gen_server).

%% API
Expand Down
1 change: 1 addition & 0 deletions deps/rabbit_common/src/supervisor2.erl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
%%
-module(supervisor2).

-compile(nowarn_deprecated_callback).
-behaviour(gen_server).

%% External exports
Expand Down

0 comments on commit 1431bbf

Please sign in to comment.