summaryrefslogtreecommitdiff
path: root/src/gatherer.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gatherer.erl')
-rw-r--r--src/gatherer.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gatherer.erl b/src/gatherer.erl
index 89bd46ca37..ecc2ab6189 100644
--- a/src/gatherer.erl
+++ b/src/gatherer.erl
@@ -120,8 +120,8 @@ handle_call(Msg, _From, State) ->
handle_cast(finish, State = #gstate { forks = Forks, blocked = Blocked }) ->
NewForks = Forks - 1,
NewBlocked = case NewForks of
- 0 -> [gen_server2:reply(From, empty) ||
- From <- queue:to_list(Blocked)],
+ 0 -> _ = [gen_server2:reply(From, empty) ||
+ From <- queue:to_list(Blocked)],
queue:new();
_ -> Blocked
end,