Browse Source

Merge pull request #148 from lemenkov/unused_var

[mostly cosmetic] Unused variable
Ulf Wiger 7 years ago
parent
commit
37adea99ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/gproc_dist_tests.erl

+ 1 - 1
test/gproc_dist_tests.erl

@@ -475,7 +475,7 @@ t_standby_monitor([A,B|_] = Ns) ->
     ?assertMatch({gproc,unreg,Ref1,Na}, got_msg(Pc, gproc)),
     ?assertMatch({gproc,unreg,Ref1,Na}, got_msg(Pc, gproc)),
     ?assertMatch(ok, t_lookup_everywhere(Na, Ns, undefined)).
     ?assertMatch(ok, t_lookup_everywhere(Na, Ns, undefined)).
 
 
-t_standby_monitor_unreg([A,B|_] = Ns) ->
+t_standby_monitor_unreg([A|_] = Ns) ->
     Na = ?T_NAME,
     Na = ?T_NAME,
     Pa = t_spawn(A, _Selective = true),
     Pa = t_spawn(A, _Selective = true),
     Ref = t_call(Pa, {apply, gproc, monitor, [Na, standby]}),
     Ref = t_call(Pa, {apply, gproc, monitor, [Na, standby]}),