Skip to content

Commit

Permalink
fix unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsdeleo committed Sep 9, 2011
1 parent 3348800 commit 83c38da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bunny_util.erl
Expand Up @@ -224,7 +224,7 @@ declare(Channel, {Exchange, Queue, RoutingKey})
{ok, {Exchange1, Queue1}}.


declare_exchange(Channel, #'exchange.declare'{exchange = <<"">>} = Exchange) ->
declare_exchange(_Channel, #'exchange.declare'{exchange = <<"">>} = Exchange) ->
{ok, Exchange};
declare_exchange(Channel, Exchange) when ?is_exchange(Exchange) ->
#'exchange.declare_ok'{} = amqp_channel:call(
Expand Down

0 comments on commit 83c38da

Please sign in to comment.