aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-02-22 13:23:04 +0100
committerHans Bolinder <[email protected]>2016-02-22 13:23:04 +0100
commit8c5f8128fc167d67fbd5d63205f35eade4cc741f (patch)
tree5cea83359579da4881e7d839e67c97755eaa4177 /lib/eunit
parent89d7e21cf4ae988c57c8ef047bfe85127875c70c (diff)
parentf10621e0cd4321834d072d2c495fc84066f04cd3 (diff)
downloadotp-8c5f8128fc167d67fbd5d63205f35eade4cc741f.tar.gz
otp-8c5f8128fc167d67fbd5d63205f35eade4cc741f.tar.bz2
otp-8c5f8128fc167d67fbd5d63205f35eade4cc741f.zip
Merge branch 'hb/add_dialyzer_suppressions/OTP-12862' into maint
* hb/add_dialyzer_suppressions/OTP-12862: Fix a few dialyzer warnings
Diffstat (limited to 'lib/eunit')
-rw-r--r--lib/eunit/src/eunit_listener.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eunit/src/eunit_listener.erl b/lib/eunit/src/eunit_listener.erl
index d9b836863b..c34eacb1d6 100644
--- a/lib/eunit/src/eunit_listener.erl
+++ b/lib/eunit/src/eunit_listener.erl
@@ -50,7 +50,7 @@ start(Callback, Options) ->
spawn_opt(init_fun(St, Options),
proplists:get_all_values(spawn, Options)).
--spec init_fun(_, _) -> no_return().
+-spec init_fun(_, _) -> fun(() -> no_return()).
init_fun(St0, Options) ->
fun () ->