diff options
author | Patrik Nyblom <[email protected]> | 2010-06-07 16:58:34 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-06-09 11:57:47 +0200 |
commit | 144aa23315abc5954aa34e9df50617da735ed366 (patch) | |
tree | 43a36a35a7447a565c7defd506cea0d5be86c225 /lib/compiler | |
parent | 882613cfb226510b2fa806b8283096e835559e9d (diff) | |
download | otp-144aa23315abc5954aa34e9df50617da735ed366.tar.gz otp-144aa23315abc5954aa34e9df50617da735ed366.tar.bz2 otp-144aa23315abc5954aa34e9df50617da735ed366.zip |
Remove (harmless) warning regarding auto-imported BIF max/2
Diffstat (limited to 'lib/compiler')
-rw-r--r-- | lib/compiler/src/rec_env.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/compiler/src/rec_env.erl b/lib/compiler/src/rec_env.erl index 77005a6f9d..31a1f8b0b7 100644 --- a/lib/compiler/src/rec_env.erl +++ b/lib/compiler/src/rec_env.erl @@ -34,8 +34,6 @@ -export_type([environment/0]). --import(erlang, [max/2]). - -ifdef(DEBUG). -export([test/1, test_custom/1, test_custom/2]). -endif. @@ -588,7 +586,7 @@ new_key(N, R, _T, F, Env) -> new_key(generate(N, R1), R1, 0, F, Env). start_range(Env) -> - max(env_size(Env) * ?START_RANGE_FACTOR, ?MINIMUM_RANGE). + erlang:max(env_size(Env) * ?START_RANGE_FACTOR, ?MINIMUM_RANGE). %% The previous key might or might not be used to compute the next key %% to be tried. It is currently not used. |