diff options
author | Raimo Niskanen <[email protected]> | 2017-09-15 09:35:27 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2017-09-15 11:54:00 +0200 |
commit | cb3a074c2c191b5465205706710aa1a8e2d4e0ee (patch) | |
tree | feb46d5a18788f21149bba11d861d7c467c77697 /lib/ssl | |
parent | 278cc4e5a2552397437999f482bcc4237ed36d35 (diff) | |
download | otp-cb3a074c2c191b5465205706710aa1a8e2d4e0ee.tar.gz otp-cb3a074c2c191b5465205706710aa1a8e2d4e0ee.tar.bz2 otp-cb3a074c2c191b5465205706710aa1a8e2d4e0ee.zip |
Avoid dialyzer warning
Diffstat (limited to 'lib/ssl')
-rw-r--r-- | lib/ssl/src/ssl_tls_dist_ctrl.erl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/ssl/src/ssl_tls_dist_ctrl.erl b/lib/ssl/src/ssl_tls_dist_ctrl.erl index c1d5bc689e..1504d1c1e4 100644 --- a/lib/ssl/src/ssl_tls_dist_ctrl.erl +++ b/lib/ssl/src/ssl_tls_dist_ctrl.erl @@ -381,14 +381,16 @@ sock_send(SslSocket, Data) -> death_row({send_error, {Type, Reason}}) end. +-spec death_row() -> no_return(). death_row() -> death_row(connection_closed). -death_row(normal) -> - %% We do not want to exit with normal - %% exit reason since it wont bring down - %% linked processes... - death_row(); +-spec death_row(term()) -> no_return(). +%% death_row(normal) -> +%% %% We do not want to exit with normal +%% %% exit reason since it wont bring down +%% %% linked processes... +%% death_row(); death_row(Reason) -> %% When the connection is on its way down operations %% begin to fail. We catch the failures and call |