Skip to content

Commit

Permalink
Dialyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
kjnilsson committed Jan 6, 2025
1 parent fddb126 commit eed6294
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions deps/rabbit/src/rabbit_fifo_client.erl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
cached_segments :: undefined |
{undefined | reference(),
LastSeenMs :: milliseconds(),
ra_flr:state()}
ra_flru:state()}
}).

-opaque state() :: #state{}.
Expand Down Expand Up @@ -909,7 +909,8 @@ handle_delivery(QName, Leader, {delivery, Tag, ReadPlan, Msgs},
{TRef, now_ms(), Cached1};
false ->
if TRef =/= undefined ->
erlang:cancel_timer(TRef, [{async, true}]);
_ = erlang:cancel_timer(TRef, [{async, true}]),
ok;
true ->
ok
end,
Expand Down

0 comments on commit eed6294

Please sign in to comment.