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 | 357f9ddc9c8a89c5e96121c6145daf85039c67ef (patch) | |
| tree | 83a795bc12fb3ad06139e36a683dd3db792bdda7 /src | |
| parent | 7713d27e5d00e3db79ee4c781cf147f9cb6d4036 (diff) | |
| download | rabbitmq-server-git-357f9ddc9c8a89c5e96121c6145daf85039c67ef.tar.gz | |
Don't function_clause in terminate/1.
Diffstat (limited to 'src')
| -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 f18c319e5c..11d6a79c4c 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 |
