summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Klishin <michael@clojurewerkz.org>2018-09-17 10:27:01 +0200
committerMichael Klishin <michael@clojurewerkz.org>2018-09-17 10:27:01 +0200
commitd6e126564d97221cf8c0158eb4406b09852c459f (patch)
treec616a0a2a11a78564bf37cc18c92dd42169398cb /src
parentdc894579c8497c645f55ab925e77c5b8824f8425 (diff)
downloadrabbitmq-server-git-d6e126564d97221cf8c0158eb4406b09852c459f.tar.gz
Combine two clauses here
Diffstat (limited to 'src')
-rw-r--r--src/pg_local.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pg_local.erl b/src/pg_local.erl
index 3a00e835ce..5ecace52ac 100644
--- a/src/pg_local.erl
+++ b/src/pg_local.erl
@@ -162,9 +162,7 @@ member_died(Ref, Pid) ->
[{{ref, Ref}, Pid}] ->
leave_all_groups(Pid);
%% in case the key has already been removed
- %% we can perform the lookup using the DOWN message pid
- [] ->
- leave_all_groups(Pid);
+ %% we can perform the lookup using the valuee from the DOWN message
_ ->
leave_all_groups(Pid)
end,