Skip to content

Commit 2285148

Browse files
michaelklishinmergify[bot]
authored andcommitted
Fix a compilation warning
(cherry picked from commit ba6cebe)
1 parent 5dd8848 commit 2285148

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

deps/rabbit/src/rabbit_channel.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2818,8 +2818,7 @@ get_queue_consumer_timeout(_PA = #pending_ack{queue = QName},
28182818
end.
28192819

28202820
get_consumer_timeout(PA = #pending_ack{tag = CTag},
2821-
State = #ch{consumer_mapping = CMap,
2822-
cfg = #conf{consumer_timeout = GCT}}) ->
2821+
State = #ch{consumer_mapping = CMap}) ->
28232822
case maps:find(CTag, CMap) of
28242823
{ok, {_, {_, _, _, Args}}} ->
28252824
case rabbit_misc:table_lookup(Args, <<"x-consumer-timeout">>) of

0 commit comments

Comments
 (0)