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
commit022dde13ae6f7da2fa6ed31f68cb3046e2ecb295 (patch)
treecb5b575a3605ce99c7b0f6b8e003b832efc50919
parentae97331c531701e4eccde745cc1974aa912b5594 (diff)
downloadrabbitmq-server-git-022dde13ae6f7da2fa6ed31f68cb3046e2ecb295.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 955d769cbb..ae20ea839a 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) ->