diff options
author | Sverker Eriksson <[email protected]> | 2016-02-08 17:54:25 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-02-08 17:54:25 +0100 |
commit | fcb5fc90e891d56b83927c8403d97da0faca0e41 (patch) | |
tree | 03d2f94e5d43207d86cb2569ba12d125fe0b21b2 /erts/preloaded/src | |
parent | 1f2cd730babd95607fb265163a70e61f03270981 (diff) | |
parent | 70e92b321feb10b5976c9a9f571a273155ebcf79 (diff) | |
download | otp-fcb5fc90e891d56b83927c8403d97da0faca0e41.tar.gz otp-fcb5fc90e891d56b83927c8403d97da0faca0e41.tar.bz2 otp-fcb5fc90e891d56b83927c8403d97da0faca0e41.zip |
Merge branch 'sverk/safe-purging/OTP-13122'
* sverk/safe-purging/OTP-13122:
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 a15355bb10..26025d6704 100644 --- a/erts/preloaded/src/erts_internal.erl +++ b/erts/preloaded/src/erts_internal.erl @@ -52,7 +52,7 @@ -export([await_microstate_accounting_modifications/3, gather_microstate_accounting_result/2]). -%% Auto import name clash +%% Auto-import name clash -export([check_process_code/2]). %% @@ -199,7 +199,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) -> |