8000 fix dialyzer issues · rabbitmq/rabbitmq-server@99ee5fb · GitHub
[go: up one dir, main page]

Skip to content

Commit 99ee5fb

Browse files
committed
fix dialyzer issues
1 parent 9e9eeb5 commit 99ee5fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/rabbit_quorum_queue.erl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -683,14 +683,12 @@ add_member(Q, Node) when ?amqqueue_is_quorum(Q) ->
683683
rabbit_misc:execute_mnesia_transaction(
684684
fun() -> rabbit_amqqueue:update(QName, Fun) end),
685685
ok;
686-
timeout ->
686+
{timeout, _} ->
687687
{error, timeout};
688688
E ->
689689
%% TODO should we stop the ra process here?
690690
E
691691
end;
692-
timeout ->
693-
{error, timeout};
694692
E ->
695693
E
696694
end.

0 commit comments

Comments
 (0)
0