diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2011-01-13 03:26:56 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-01-13 03:26:56 +0000 |
commit | 2fec5acb77374d44eda0bcf0022c6b7919880459 (patch) | |
tree | 973b8634cfc489d962e8c0cb508538ce4237d7f0 | |
parent | 00dbba335e855f53dd60fcd97582f13486c6a963 (diff) | |
download | rabbitmq-server-bug23684.tar.gz |
remove redundant clausebug23684
confirm/3 is now only ever called once confirm mode has been enabled,
and since we can't turn that mode off there is no point in checking.
-rw-r--r-- | src/rabbit_channel.erl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 5badfb05..2764a591 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -473,8 +473,6 @@ queue_blocked(QPid, State = #ch{blocking = Blocking}) -> confirm([], _QPid, State) -> State; -confirm(_MsgSeqNos, _QPid, State = #ch{confirm_enabled = false}) -> - State; confirm(MsgSeqNos, QPid, State) -> {DoneMessages, State1} = lists:foldl( |