Skip to content

Commit b4a11e6

Browse files
Make dialyzer happy
1 parent 9bd0731 commit b4a11e6

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
@@ -642,7 +642,7 @@ handle_cast(terminate, State = #ch{cfg = #conf{writer_pid = WriterPid}}) ->
642642
try
643643
ok = rabbit_writer:flush(WriterPid)
644644
catch
645-
Class:Reason ->
645+
_Class:Reason ->
646646
rabbit_log:debug("Failed to flush pending writes on a terminating connection, reason: ~tp", [Reason])
647647
end,
648648
{stop, normal, State};

0 commit comments

Comments
 (0)