summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deps/rabbit/src/rabbit_queue_index.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/rabbit/src/rabbit_queue_index.erl b/deps/rabbit/src/rabbit_queue_index.erl
index cdd00c9326..37e1072328 100644
--- a/deps/rabbit/src/rabbit_queue_index.erl
+++ b/deps/rabbit/src/rabbit_queue_index.erl
@@ -843,9 +843,9 @@ action_to_entry(RelSeq, Action, JEntries) ->
end};
({Pub, no_del, no_ack}) when Action == del ->
{set, {Pub, del, no_ack}};
- ({no_pub, del, no_ack}) when Action == ack ->
+ ({no_pub, _del, no_ack}) when Action == ack ->
{set, {no_pub, del, ack}};
- ({?PUB, del, no_ack}) when Action == ack ->
+ ({?PUB, _del, no_ack}) when Action == ack ->
{reset, none}
end.
@@ -1084,7 +1084,7 @@ entry_to_segment(RelSeq, {Pub, Del, Ack}, Initial) ->
Binary = <<?REL_SEQ_ONLY_PREFIX:?REL_SEQ_ONLY_PREFIX_BITS,
RelSeq:?REL_SEQ_BITS>>,
case {Del, Ack} of
- {del, ack} -> [[Binary, Binary] | Initial];
+ {_del, ack} -> [[Binary, Binary] | Initial];
_ -> [Binary | Initial]
end
end,