From 11761e08dcc7baa115e607035cbc4b0c990e1c2c Mon Sep 17 00:00:00 2001 From: Simon MacMullen Date: Fri, 20 Jan 2012 14:34:56 +0000 Subject: [PATCH] Silence warnings --- deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl b/deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl index f4183f5aea..ae8b6b77a7 100644 --- a/deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl +++ b/deps/rabbitmq_stomp/src/rabbit_stomp_processor.erl @@ -257,8 +257,8 @@ handle_frame("UNSUBSCRIBE", Frame, State) -> handle_frame("SEND", Frame, State) -> without_headers(?HEADERS_NOT_ON_SEND, "SEND", Frame, State, - fun (Command, Frame, State) -> - with_destination("SEND", Frame, State, fun do_send/4) + fun (_Command, Frame1, State1) -> + with_destination("SEND", Frame1, State1, fun do_send/4) end); handle_frame("ACK", Frame, State) ->