summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-04-27 05:43:20 +0100
committerMatthias Radestock <matthias@lshift.net>2010-04-27 05:43:20 +0100
commiteb44578ec9261160bb7c47259a9c7a9b023719d6 (patch)
treed15126be187deb69ba977fb877c4317e8193f93f /src
parent94bbff94e5e042a8143b47b230c53a9955cbca84 (diff)
downloadrabbitmq-server-git-eb44578ec9261160bb7c47259a9c7a9b023719d6.tar.gz
explode on attempted double initialisation of queue
which inidicates a serious bug and thus we shouldn't ignore it
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index b371bc2c48..5e325794af 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -759,8 +759,6 @@ handle_cast({init, Recover}, State = #q{message_buffer = undefined}) ->
false -> []
end,
noreply(State#q{message_buffer = queue:from_list(Messages)});
-handle_cast({init, _Recover}, State) ->
- noreply(State);
handle_cast({deliver, Txn, Message, ChPid}, State) ->
%% Asynchronous, non-"mandatory", non-"immediate" deliver mode.