diff options
| author | Stephen D. Huston <shuston@apache.org> | 2008-12-10 23:38:51 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2008-12-10 23:38:51 +0000 |
| commit | de4469abd65b1d15815c93061cd413139733ad5b (patch) | |
| tree | 1c21afda2fd7c921e98f57813ce44b9c3d5cf461 /cpp | |
| parent | b80ddfbfca160c20df9fc6d6f94806c013a43b03 (diff) | |
| download | qpid-python-de4469abd65b1d15815c93061cd413139733ad5b.tar.gz | |
Fix unused arg warnings from MSVC
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@725488 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/src/qpid/broker/ConnectionHandler.cpp | 4 | ||||
| -rw-r--r-- | cpp/src/qpid/client/Connection.cpp | 2 | ||||
| -rw-r--r-- | cpp/src/qpid/client/Connector.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/ConnectionHandler.cpp b/cpp/src/qpid/broker/ConnectionHandler.cpp index e8e2cc3e3b..7386ce7229 100644 --- a/cpp/src/qpid/broker/ConnectionHandler.cpp +++ b/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/cpp/src/qpid/client/Connection.cpp b/cpp/src/qpid/client/Connection.cpp index e393d135f6..f450344aa7 100644 --- a/cpp/src/qpid/client/Connection.cpp +++ b/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/cpp/src/qpid/client/Connector.cpp b/cpp/src/qpid/client/Connector.cpp index 52e8405c0a..bef98863a1 100644 --- a/cpp/src/qpid/client/Connector.cpp +++ b/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; } |
