summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_quorum_queue.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_quorum_queue.erl b/src/rabbit_quorum_queue.erl
index 0c4a8b07c0..3d0d074e02 100644
--- a/src/rabbit_quorum_queue.erl
+++ b/src/rabbit_quorum_queue.erl
@@ -444,12 +444,12 @@ stop(VHost) ->
rabbit_types:username()) ->
{ok, QLen :: non_neg_integer()}.
-delete(Q, true, _IfEmpty, ActingUser) when ?amqqueue_is_quorum(Q) ->
+delete(Q, true, _IfEmpty, _ActingUser) when ?amqqueue_is_quorum(Q) ->
rabbit_misc:protocol_error(
not_implemented,
"cannot delete ~s. queue.delete operations with if-unused flag set are not supported by quorum queues",
[rabbit_misc:rs(amqqueue:get_name(Q))]);
-delete(Q, _IfUnused, true, ActingUser) when ?amqqueue_is_quorum(Q) ->
+delete(Q, _IfUnused, true, _ActingUser) when ?amqqueue_is_quorum(Q) ->
rabbit_misc:protocol_error(
not_implemented,
"cannot delete ~s. queue.delete operations with if-empty flag set are not supported by quorum queues",