diff options
author | Siri Hansen <[email protected]> | 2014-09-30 10:07:55 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-09-30 10:08:30 +0200 |
commit | 506c3ca1f1481d722576fd59887bc5f06581528d (patch) | |
tree | 626a394a1907f92114f6593bf842e78d1395462d /lib/stdlib | |
parent | 88d5c0edbd08e069bc20cf13fa90bca59eb43e86 (diff) | |
download | otp-506c3ca1f1481d722576fd59887bc5f06581528d.tar.gz otp-506c3ca1f1481d722576fd59887bc5f06581528d.tar.bz2 otp-506c3ca1f1481d722576fd59887bc5f06581528d.zip |
Fix dialyzer warnings for unmatched return in gen_event
This was introduced by PR 445, commit
2e78c5f3e7f9991484ceb5d56e5b0086331101be.
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/src/gen_event.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/stdlib/src/gen_event.erl b/lib/stdlib/src/gen_event.erl index 40c5a93d59..469acdc37c 100644 --- a/lib/stdlib/src/gen_event.erl +++ b/lib/stdlib/src/gen_event.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 1996-2013. All Rights Reserved. +%% Copyright Ericsson AB 1996-2014. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -302,7 +302,8 @@ terminate_server(Reason, Parent, MSL, ServerName) -> exit(Reason). reply({From, Ref}, Msg) -> - From ! {Ref, Msg}. + From ! {Ref, Msg}, + ok. %% unlink the supervisor process of all supervised handlers. %% We do not want a handler supervisor to EXIT due to the |