diff options
author | Niclas Eklund <[email protected]> | 2011-02-10 16:18:50 +0100 |
---|---|---|
committer | Niclas Eklund <[email protected]> | 2011-02-10 16:18:50 +0100 |
commit | 59bb06a90248defb4c0be98f10afae88c2251fe7 (patch) | |
tree | 5cc2b0b25becec926f9d3981579b8038b95cbcec /lib/cosTime/src/cosTime.erl | |
parent | 06ff115c291c4bb07a728bbeb72f67822e9d4b80 (diff) | |
download | otp-59bb06a90248defb4c0be98f10afae88c2251fe7.tar.gz otp-59bb06a90248defb4c0be98f10afae88c2251fe7.tar.bz2 otp-59bb06a90248defb4c0be98f10afae88c2251fe7.zip |
Eliminated Dialyzer warnings when using exit or throw.
Diffstat (limited to 'lib/cosTime/src/cosTime.erl')
-rw-r--r-- | lib/cosTime/src/cosTime.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cosTime/src/cosTime.erl b/lib/cosTime/src/cosTime.erl index f4e67570ad..3f6050444a 100644 --- a/lib/cosTime/src/cosTime.erl +++ b/lib/cosTime/src/cosTime.erl @@ -2,7 +2,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2000-2009. All Rights Reserved. +%% Copyright Ericsson AB 2000-2011. 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 @@ -110,6 +110,8 @@ uninstall_time() -> uninstall_timerevent() -> uninstall_loop(lists:reverse(?IDL_TIMEREVENT_MODULES),ok). +%% To avoid dialyzer warnings due to the use of exit/throw. +-spec(uninstall_loop/2 :: (_, _) -> no_return()). uninstall_loop([],ok) -> ok; uninstall_loop([],{exit, register}) -> |