aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/rec_env.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-04-20 15:21:47 +0200
committerBjörn Gustavsson <[email protected]>2016-04-20 15:21:47 +0200
commit0259154cb0bb14a77e9ecd6d2762ca6a782e7e30 (patch)
tree147d31c813027823e36000efa3d8ebbf124b3a7d /lib/compiler/src/rec_env.erl
parentaee7c8eec5219cd1b29db34748d2b2a60701a0c3 (diff)
downloadotp-0259154cb0bb14a77e9ecd6d2762ca6a782e7e30.tar.gz
otp-0259154cb0bb14a77e9ecd6d2762ca6a782e7e30.tar.bz2
otp-0259154cb0bb14a77e9ecd6d2762ca6a782e7e30.zip
Eliminate Dialyzer warnings for unmatched returns
Diffstat (limited to 'lib/compiler/src/rec_env.erl')
-rw-r--r--lib/compiler/src/rec_env.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compiler/src/rec_env.erl b/lib/compiler/src/rec_env.erl
index 2b89dc628c..936c5f6106 100644
--- a/lib/compiler/src/rec_env.erl
+++ b/lib/compiler/src/rec_env.erl
@@ -603,7 +603,8 @@ generate(_N, Range) ->
%% same BEAM code.
case rand:export_seed() of
undefined ->
- rand:seed(exsplus, {1,42,2053});
+ _ = rand:seed(exsplus, {1,42,2053}),
+ ok;
_ ->
ok
end,