summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-05-23 15:17:31 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-05-23 15:17:31 +0100
commitd6bbdb17df9fb0aadd149b1f1423bb8ef3fb1e6f (patch)
tree44dfaceb1e0984d9ba7e24a13e707234c34f21c3
parentd22b93788a841497e6275b1d4fca276334a4a20a (diff)
downloadrabbitmq-server-d6bbdb17df9fb0aadd149b1f1423bb8ef3fb1e6f.tar.gz
Fix dialyzer warnings.
-rw-r--r--src/rabbit_misc.erl4
-rw-r--r--src/rabbit_plugins_main.erl1
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.