Skip to content

Commit ac152a0

Browse files
michaelklishinLoisSotoLopez
authored andcommitted
Make dialyzer happy
1 parent 0607ce6 commit ac152a0

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)