Skip to content

Commit 3d80af6

Browse files
michaelklishinmergify[bot]
authored andcommitted
Make dialyzer happy
(cherry picked from commit b4a11e6)
1 parent f3fa4cc commit 3d80af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_channel.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ handle_cast(terminate, State = #ch{cfg = #conf{writer_pid = WriterPid}}) ->
640640
try
641641
ok = rabbit_writer:flush(WriterPid)
642642
catch
643-
Class:Reason ->
643+
_Class:Reason ->
644644
rabbit_log:debug("Failed to flush pending writes on a terminating connection, reason: ~tp", [Reason])
645645
end,
646646
{stop, normal, State};

0 commit comments

Comments
 (0)