summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-05-22 17:58:19 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-05-22 17:58:19 +0100
commit1ac469cc66ed3c755808244f1fe182acae8982c7 (patch)
tree83a795bc12fb3ad06139e36a683dd3db792bdda7
parent3b843b56745bb1b6492e8cfb91b34989b6138511 (diff)
downloadrabbitmq-server-1ac469cc66ed3c755808244f1fe182acae8982c7.tar.gz
Don't function_clause in terminate/1.
-rw-r--r--src/rabbit_mirror_queue_slave.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl
index f18c319e..11d6a79c 100644
--- a/src/rabbit_mirror_queue_slave.erl
+++ b/src/rabbit_mirror_queue_slave.erl
@@ -321,7 +321,7 @@ handle_info({bump_credit, Msg}, State) ->
handle_info(Msg, State) ->
{stop, {unexpected_info, Msg}, State}.
-terminate(normal, {not_started, _Q}) ->
+terminate(_Reason, {not_started, _Q}) ->
ok;
terminate(_Reason, #state { backing_queue_state = undefined }) ->
%% We've received a delete_and_terminate from gm, thus nothing to