diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2012-05-23 15:17:31 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2012-05-23 15:17:31 +0100 |
commit | d6bbdb17df9fb0aadd149b1f1423bb8ef3fb1e6f (patch) | |
tree | 44dfaceb1e0984d9ba7e24a13e707234c34f21c3 | |
parent | d22b93788a841497e6275b1d4fca276334a4a20a (diff) | |
download | rabbitmq-server-d6bbdb17df9fb0aadd149b1f1423bb8ef3fb1e6f.tar.gz |
Fix dialyzer warnings.
-rw-r--r-- | src/rabbit_misc.erl | 4 | ||||
-rw-r--r-- | src/rabbit_plugins_main.erl | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl index c8b172ec..d41aa09b 100644 --- a/src/rabbit_misc.erl +++ b/src/rabbit_misc.erl @@ -86,8 +86,8 @@ -spec(die/1 :: (rabbit_framing:amqp_exception()) -> channel_or_connection_exit()). --spec(quit/1 :: (integer()) -> any()). --spec(quit/2 :: (string(), [term()]) -> any()). +-spec(quit/1 :: (integer()) -> no_return()). +-spec(quit/2 :: (string(), [term()]) -> no_return()). -spec(frame_error/2 :: (rabbit_framing:amqp_method_name(), binary()) -> rabbit_types:connection_exit()). diff --git a/src/rabbit_plugins_main.erl b/src/rabbit_plugins_main.erl index 60f662c1..7a81f0dd 100644 --- a/src/rabbit_plugins_main.erl +++ b/src/rabbit_plugins_main.erl @@ -42,6 +42,7 @@ -spec(start/0 :: () -> no_return()). -spec(stop/0 :: () -> 'ok'). +-spec(usage/0 :: () -> no_return()). -endif. |