summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-05-18 11:16:21 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-05-18 11:16:21 +0100
commit7f1bda6108826ee32a4e1019b335734efcf8b478 (patch)
treea4db0c7415880bcd97eeb95d264eb4cdcb410bd6
parentce4fa1b7d8ddd8ca3a2e9c051b2e024f87c6a6fa (diff)
downloadrabbitmq-server-git-7f1bda6108826ee32a4e1019b335734efcf8b478.tar.gz
Unused variable warning
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index bbc20a78c4..8a3ae83ecc 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -221,7 +221,7 @@ declare(Recover, From, State = #q{q = Q,
end.
matches(true, Q, Q) -> true;
-matches(true, Q, Q1) -> false;
+matches(true, _Q, _Q1) -> false;
matches(false, Q1, Q2) ->
%% i.e. not policy
Q1#amqqueue.name =:= Q2#amqqueue.name andalso