diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-05-22 17:58:19 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-05-22 17:58:19 +0100 |
commit | 1ac469cc66ed3c755808244f1fe182acae8982c7 (patch) | |
tree | 83a795bc12fb3ad06139e36a683dd3db792bdda7 | |
parent | 3b843b56745bb1b6492e8cfb91b34989b6138511 (diff) | |
download | rabbitmq-server-1ac469cc66ed3c755808244f1fe182acae8982c7.tar.gz |
Don't function_clause in terminate/1.
-rw-r--r-- | src/rabbit_mirror_queue_slave.erl | 2 |
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 |