aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/global.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-04-25 16:14:10 +0200
committerHans Bolinder <[email protected]>2013-05-06 12:14:13 +0200
commitf52452309cf68da898a1768eb6e8b6767e602bc7 (patch)
treec24a32ecedfd7f4baaa3c8f4e9e474a7dbef738b /lib/kernel/src/global.erl
parent88eea0e9a22099a1425553381cfb72f646cb2abf (diff)
downloadotp-f52452309cf68da898a1768eb6e8b6767e602bc7.tar.gz
otp-f52452309cf68da898a1768eb6e8b6767e602bc7.tar.bz2
otp-f52452309cf68da898a1768eb6e8b6767e602bc7.zip
Fix unmatched_return warnings in kernel
Diffstat (limited to 'lib/kernel/src/global.erl')
-rw-r--r--lib/kernel/src/global.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/global.erl b/lib/kernel/src/global.erl
index 3f672c099b..ef878b8d0c 100644
--- a/lib/kernel/src/global.erl
+++ b/lib/kernel/src/global.erl
@@ -2069,7 +2069,7 @@ random_sleep(Times) ->
case get(random_seed) of
undefined ->
{A1, A2, A3} = now(),
- random:seed(A1, A2, A3 + erlang:phash(node(), 100000)),
+ _ = random:seed(A1, A2, A3 + erlang:phash(node(), 100000)),
ok;
_ -> ok
end,