summaryrefslogtreecommitdiff
path: root/qpid/cpp/broker/src/DirectExchange.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-11 15:50:15 +0000
committerAlan Conway <aconway@apache.org>2006-10-11 15:50:15 +0000
commitac3335857e3b30b99240c2a7638c8aed31d3e78d (patch)
tree144465ed3ea20dab341a972377de9c0451b71113 /qpid/cpp/broker/src/DirectExchange.cpp
parenta3d3d2ccc0ccb5d4b857be93c4774ac1bddd0aeb (diff)
downloadqpid-python-ac3335857e3b30b99240c2a7638c8aed31d3e78d.tar.gz
Turned up gcc warnings, fixed warnings in code, enabled -Werror.
Note: #include "qpid_test_plugin.h" instead of <cppunit/TestPlugin.h> Works around warning from a cppunit macro. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@462834 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/broker/src/DirectExchange.cpp')
-rw-r--r--qpid/cpp/broker/src/DirectExchange.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/broker/src/DirectExchange.cpp b/qpid/cpp/broker/src/DirectExchange.cpp
index ca29225bee..94cfbc766d 100644
--- a/qpid/cpp/broker/src/DirectExchange.cpp
+++ b/qpid/cpp/broker/src/DirectExchange.cpp
@@ -22,7 +22,7 @@
using namespace qpid::broker;
using namespace qpid::framing;
-DirectExchange::DirectExchange(const string& name) : Exchange(name) {
+DirectExchange::DirectExchange(const string& _name) : Exchange(_name) {
}
@@ -37,7 +37,7 @@ void DirectExchange::bind(Queue::shared_ptr queue, const string& routingKey, Fie
lock.release();
}
-void DirectExchange::unbind(Queue::shared_ptr queue, const string& routingKey, FieldTable* args){
+void DirectExchange::unbind(Queue::shared_ptr queue, const string& routingKey, FieldTable* /*args*/){
lock.acquire();
std::vector<Queue::shared_ptr>& queues(bindings[routingKey]);
@@ -51,7 +51,7 @@ void DirectExchange::unbind(Queue::shared_ptr queue, const string& routingKey, F
lock.release();
}
-void DirectExchange::route(Message::shared_ptr& msg, const string& routingKey, FieldTable* args){
+void DirectExchange::route(Message::shared_ptr& msg, const string& routingKey, FieldTable* /*args*/){
lock.acquire();
std::vector<Queue::shared_ptr>& queues(bindings[routingKey]);
int count(0);