summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_exchange.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_exchange.erl b/src/rabbit_exchange.erl
index 676a6561f2..5d646e0c90 100644
--- a/src/rabbit_exchange.erl
+++ b/src/rabbit_exchange.erl
@@ -355,7 +355,7 @@ i(Item, #exchange{type = Type} = X) ->
info(X = #exchange{type = Type}) ->
infos(?INFO_KEYS, X) ++ (type_to_module(Type)):info(X).
-info(X = #exchange{type = Type}, Items) ->
+info(X = #exchange{type = _Type}, Items) ->
infos(Items, X).
info_all(VHostPath) -> map(VHostPath, fun (X) -> info(X) end).