diff options
author | Sverker Eriksson <[email protected]> | 2016-01-25 15:45:13 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-01-25 15:45:13 +0100 |
commit | 70e92b321feb10b5976c9a9f571a273155ebcf79 (patch) | |
tree | 5c70075a1d231f8d1989aa60d9e5eb15d0f026be /erts/preloaded/src | |
parent | 53dcd92be965d35ef53a27efda0597b2961921ba (diff) | |
download | otp-70e92b321feb10b5976c9a9f571a273155ebcf79.tar.gz otp-70e92b321feb10b5976c9a9f571a273155ebcf79.tar.bz2 otp-70e92b321feb10b5976c9a9f571a273155ebcf79.zip |
erts: Fix harmless dialyzer warnings
Diffstat (limited to 'erts/preloaded/src')
-rw-r--r-- | erts/preloaded/src/erts_code_purger.erl | 2 | ||||
-rw-r--r-- | erts/preloaded/src/erts_internal.erl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/erts/preloaded/src/erts_code_purger.erl b/erts/preloaded/src/erts_code_purger.erl index a64860bec8..d1e64342e0 100644 --- a/erts/preloaded/src/erts_code_purger.erl +++ b/erts/preloaded/src/erts_code_purger.erl @@ -31,7 +31,7 @@ start() -> loop(). loop() -> - receive + _ = receive {purge,Mod,From,Ref} when is_atom(Mod), is_pid(From) -> Res = do_purge(Mod), From ! {reply, purge, Res, Ref}; diff --git a/erts/preloaded/src/erts_internal.erl b/erts/preloaded/src/erts_internal.erl index 84dedab930..2b15abe0fb 100644 --- a/erts/preloaded/src/erts_internal.erl +++ b/erts/preloaded/src/erts_internal.erl @@ -49,7 +49,7 @@ -export([is_system_process/1]). -%% Auto import name clash +%% Auto-import name clash -export([check_process_code/2]). %% @@ -196,7 +196,7 @@ port_info(_Result, _Item) -> -spec request_system_task(Pid, Prio, Request) -> 'ok' when Prio :: 'max' | 'high' | 'normal' | 'low', Request :: {'garbage_collect', term()} - | {'check_process_code', term(), module(), boolean()}, + | {'check_process_code', term(), module(), non_neg_integer()}, Pid :: pid(). request_system_task(_Pid, _Prio, _Request) -> |