aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit/src/eunit_proc.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-02-03 15:33:11 +0100
committerHans Bolinder <[email protected]>2016-02-17 09:17:33 +0100
commit7113a52be93505b2db99cfa7a37160e80722a203 (patch)
treeebf6722bc00691811a003e2f77d7bda53cab78ad /lib/eunit/src/eunit_proc.erl
parent98f74d1f6f1109cbd0cbc495ed3d8630271ce8c6 (diff)
downloadotp-7113a52be93505b2db99cfa7a37160e80722a203.tar.gz
otp-7113a52be93505b2db99cfa7a37160e80722a203.tar.bz2
otp-7113a52be93505b2db99cfa7a37160e80722a203.zip
eunit: Add suppression of Dialyzer warnings
Diffstat (limited to 'lib/eunit/src/eunit_proc.erl')
-rw-r--r--lib/eunit/src/eunit_proc.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/eunit/src/eunit_proc.erl b/lib/eunit/src/eunit_proc.erl
index 98ae31d54b..8bdf94c877 100644
--- a/lib/eunit/src/eunit_proc.erl
+++ b/lib/eunit/src/eunit_proc.erl
@@ -268,6 +268,8 @@ insulator_wait(Child, Parent, Buf, St) ->
kill_task(Child, St)
end.
+-spec kill_task(_, _) -> no_return().
+
kill_task(Child, St) ->
exit(Child, kill),
terminate_insulator(St).