summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2012-05-15 16:44:20 +0100
committerTim Watson <tim@rabbitmq.com>2012-05-15 16:44:20 +0100
commitc0da1632ca9332d682014585ec0747685d55d21a (patch)
treecb5b575a3605ce99c7b0f6b8e003b832efc50919
parent294e9f7061363bf6c0d4a2db1aee8b37bbd3269e (diff)
downloadrabbitmq-server-c0da1632ca9332d682014585ec0747685d55d21a.tar.gz
remove vestigial ERROR_CODE define and dangling TODO from rabbit_misc
-rw-r--r--src/rabbit_misc.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rabbit_misc.erl b/src/rabbit_misc.erl
index 955d769c..ae20ea83 100644
--- a/src/rabbit_misc.erl
+++ b/src/rabbit_misc.erl
@@ -87,7 +87,6 @@
-spec(die/1 ::
(rabbit_framing:amqp_exception()) -> channel_or_connection_exit()).
-%% TODO: figure out what the return types should actually be for these...
-spec(terminate/1 :: (integer()) -> any()).
-spec(terminate/2 :: (string(), integer()) -> any()).
@@ -214,8 +213,6 @@
-endif.
--define(ERROR_CODE, 1).
-
%%----------------------------------------------------------------------------
method_record_type(Record) ->