aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-01-25 15:45:13 +0100
committerSverker Eriksson <[email protected]>2016-01-25 15:45:13 +0100
commit70e92b321feb10b5976c9a9f571a273155ebcf79 (patch)
tree5c70075a1d231f8d1989aa60d9e5eb15d0f026be /erts
parent53dcd92be965d35ef53a27efda0597b2961921ba (diff)
downloadotp-70e92b321feb10b5976c9a9f571a273155ebcf79.tar.gz
otp-70e92b321feb10b5976c9a9f571a273155ebcf79.tar.bz2
otp-70e92b321feb10b5976c9a9f571a273155ebcf79.zip
erts: Fix harmless dialyzer warnings
Diffstat (limited to 'erts')
-rw-r--r--erts/preloaded/ebin/erts_code_purger.beambin8768 -> 8776 bytes
-rw-r--r--erts/preloaded/ebin/erts_internal.beambin8536 -> 8536 bytes
-rw-r--r--erts/preloaded/src/erts_code_purger.erl2
-rw-r--r--erts/preloaded/src/erts_internal.erl4
4 files changed, 3 insertions, 3 deletions
diff --git a/erts/preloaded/ebin/erts_code_purger.beam b/erts/preloaded/ebin/erts_code_purger.beam
index 227d96d4c8..541bc7e7cc 100644
--- a/erts/preloaded/ebin/erts_code_purger.beam
+++ b/erts/preloaded/ebin/erts_code_purger.beam
Binary files differ
diff --git a/erts/preloaded/ebin/erts_internal.beam b/erts/preloaded/ebin/erts_internal.beam
index d3d990519d..c19d59ab3f 100644
--- a/erts/preloaded/ebin/erts_internal.beam
+++ b/erts/preloaded/ebin/erts_internal.beam
Binary files differ
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) ->