summaryrefslogtreecommitdiff
path: root/src/rabbit_channel_interceptor.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2014-02-02 15:47:57 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2014-02-02 15:47:57 +0000
commit8cb1461584ca42b6420614c5a47fd33f4d96a33c (patch)
treeb5feeb196a40fea5c26d38754b6b3fe373a5e9bf /src/rabbit_channel_interceptor.erl
parent95173fe26aeb4e18653d751ecf9a99e170b20986 (diff)
downloadrabbitmq-server-8cb1461584ca42b6420614c5a47fd33f4d96a33c.tar.gz
shut up dialyzer
Diffstat (limited to 'src/rabbit_channel_interceptor.erl')
-rw-r--r--src/rabbit_channel_interceptor.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_channel_interceptor.erl b/src/rabbit_channel_interceptor.erl
index 2bd22579..a5f8c194 100644
--- a/src/rabbit_channel_interceptor.erl
+++ b/src/rabbit_channel_interceptor.erl
@@ -87,5 +87,7 @@ select(Method) ->
validate_method(M, M2) ->
rabbit_misc:method_record_type(M) =:= rabbit_misc:method_record_type(M2).
+%% keep dialyzer happy
+-spec internal_error(string(), [any()]) -> no_return().
internal_error(Format, Args) ->
- rabbit_misc:protocol_error(internal_error, Format, Args). \ No newline at end of file
+ rabbit_misc:protocol_error(internal_error, Format, Args).