Skip to content

Commit

Permalink
chore: ensure Erlang/OTP 27 compat
Browse files Browse the repository at this point in the history
Silence "expression updates a literal" compiler lint recently introduced
in erlang/otp#8069.
  • Loading branch information
keynslug committed Oct 18, 2024
1 parent 1ee2faf commit 13f9607
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/mria_rlog.hrl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
-define(unexpected_event_kind, "Mria worker received unexpected event").
-define(unexpected_event_tp(Params),
?tp(warning, ?unexpected_event_kind,
Params#{ process => ?MODULE
, callback => ?FUNCTION_NAME
})).
(begin Params end)#{ process => ?MODULE
, callback => ?FUNCTION_NAME
})).

-define(terminate_tp,
?tp(debug, mria_worker_terminate, #{process => ?MODULE, callback => terminate})).
Expand Down

0 comments on commit 13f9607

Please sign in to comment.