Local shovel: remove unused clause
This commit is contained in:
parent
07a085365e
commit
edf0e3c1ff
|
|
@ -598,10 +598,6 @@ settle(Op, DeliveryTag, Multiple,
|
|||
%%
|
||||
%% Returns a tuple of acknowledged pending acks and remaining pending acks.
|
||||
%% Sorts each group in the youngest-first order (descending by delivery tag).
|
||||
%% The special case for 0 comes from the AMQP 0-9-1 spec: if the multiple field is set to 1 (true),
|
||||
%% and the delivery tag is 0, this indicates acknowledgement of all outstanding messages (by a client).
|
||||
collect_acks(UAMQ, 0, true) ->
|
||||
{lists:reverse(?QUEUE:to_list(UAMQ)), ?QUEUE:new()};
|
||||
collect_acks(UAMQ, DeliveryTag, Multiple) ->
|
||||
collect_acks([], [], UAMQ, DeliveryTag, Multiple).
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue