summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client
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
commitde4469abd65b1d15815c93061cd413139733ad5b (patch)
tree1c21afda2fd7c921e98f57813ce44b9c3d5cf461 /cpp/src/qpid/client
parentb80ddfbfca160c20df9fc6d6f94806c013a43b03 (diff)
downloadqpid-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/src/qpid/client')
-rw-r--r--cpp/src/qpid/client/Connection.cpp2
-rw-r--r--cpp/src/qpid/client/Connector.cpp2
2 files changed, 2 insertions, 2 deletions
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;
}