diff options
author | Siri Hansen <[email protected]> | 2013-04-25 16:14:10 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2013-05-06 12:14:13 +0200 |
commit | f52452309cf68da898a1768eb6e8b6767e602bc7 (patch) | |
tree | c24a32ecedfd7f4baaa3c8f4e9e474a7dbef738b /lib/kernel/src/pg2.erl | |
parent | 88eea0e9a22099a1425553381cfb72f646cb2abf (diff) | |
download | otp-f52452309cf68da898a1768eb6e8b6767e602bc7.tar.gz otp-f52452309cf68da898a1768eb6e8b6767e602bc7.tar.bz2 otp-f52452309cf68da898a1768eb6e8b6767e602bc7.zip |
Fix unmatched_return warnings in kernel
Diffstat (limited to 'lib/kernel/src/pg2.erl')
-rw-r--r-- | lib/kernel/src/pg2.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/pg2.erl b/lib/kernel/src/pg2.erl index 2cfbcc9189..b562d4ffd2 100644 --- a/lib/kernel/src/pg2.erl +++ b/lib/kernel/src/pg2.erl @@ -165,7 +165,7 @@ get_closest_pid(Name) -> init([]) -> Ns = nodes(), - net_kernel:monitor_nodes(true), + ok = net_kernel:monitor_nodes(true), lists:foreach(fun(N) -> {?MODULE, N} ! {new_pg2, node()}, self() ! {nodeup, N} |