summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2008-12-10 23:38:51 +0000
committerStephen D. Huston <shuston@apache.org>2008-12-10 23:38:51 +0000
commit73dff9c09bc9f73970f8568bb8c63678db70d325 (patch)
tree3e50741e22cc733f2c7959f7795ff63f25e90def /qpid/cpp/src
parentfb6a756ad0eb73b2846e2bbede1c2361f1842cee (diff)
downloadqpid-python-73dff9c09bc9f73970f8568bb8c63678db70d325.tar.gz
Fix unused arg warnings from MSVC
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@725488 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/broker/ConnectionHandler.cpp4
-rw-r--r--qpid/cpp/src/qpid/client/Connection.cpp2
-rw-r--r--qpid/cpp/src/qpid/client/Connector.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/qpid/cpp/src/qpid/broker/ConnectionHandler.cpp b/qpid/cpp/src/qpid/broker/ConnectionHandler.cpp
index e8e2cc3e3b..7386ce7229 100644
--- a/qpid/cpp/src/qpid/broker/ConnectionHandler.cpp
+++ b/qpid/cpp/src/qpid/broker/ConnectionHandler.cpp
@@ -106,7 +106,7 @@ void ConnectionHandler::Handler::startOk(const framing::FieldTable& clientProper
{
try {
authenticator->start(mechanism, response);
- } catch (std::exception& e) {
+ } catch (std::exception& /*e*/) {
management::ManagementAgent* agent = connection.getAgent();
if (agent) {
string error;
@@ -132,7 +132,7 @@ void ConnectionHandler::Handler::secureOk(const string& response)
{
try {
authenticator->step(response);
- } catch (std::exception& e) {
+ } catch (std::exception& /*e*/) {
management::ManagementAgent* agent = connection.getAgent();
if (agent) {
string error;
diff --git a/qpid/cpp/src/qpid/client/Connection.cpp b/qpid/cpp/src/qpid/client/Connection.cpp
index e393d135f6..f450344aa7 100644
--- a/qpid/cpp/src/qpid/client/Connection.cpp
+++ b/qpid/cpp/src/qpid/client/Connection.cpp
@@ -72,7 +72,7 @@ void Connection::open(
open(settings);
break;
}
- catch (const Exception& e) {
+ catch (const Exception& /*e*/) {
if (i == url.end()) throw;
}
}
diff --git a/qpid/cpp/src/qpid/client/Connector.cpp b/qpid/cpp/src/qpid/client/Connector.cpp
index 52e8405c0a..bef98863a1 100644
--- a/qpid/cpp/src/qpid/client/Connector.cpp
+++ b/qpid/cpp/src/qpid/client/Connector.cpp
@@ -199,7 +199,7 @@ void TCPConnector::connect(const std::string& host, int port){
assert(closed);
try {
socket.connect(host, port);
- } catch (const std::exception& e) {
+ } catch (const std::exception& /*e*/) {
socket.close();
throw;
}