summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_amqqueue.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl
index 20097a7dec..a30757bcee 100644
--- a/src/rabbit_amqqueue.erl
+++ b/src/rabbit_amqqueue.erl
@@ -226,10 +226,7 @@ internal_declare(Q = #amqqueue{name = QueueName}, Recover) ->
QueueName}) of
[] -> ok = store_queue(Q),
B = add_default_binding(Q),
- fun (Tx) ->
- B(Tx),
- Q
- end;
+ fun (Tx) -> B(Tx), Q end;
[_] -> %% Q exists on stopped node
rabbit_misc:const(not_found)
end;