diff options
author | Björn Gustavsson <[email protected]> | 2016-04-20 15:21:47 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-04-20 15:21:47 +0200 |
commit | 0259154cb0bb14a77e9ecd6d2762ca6a782e7e30 (patch) | |
tree | 147d31c813027823e36000efa3d8ebbf124b3a7d /lib/compiler/src/rec_env.erl | |
parent | aee7c8eec5219cd1b29db34748d2b2a60701a0c3 (diff) | |
download | otp-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.erl | 3 |
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, |