From de4469abd65b1d15815c93061cd413139733ad5b Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Wed, 10 Dec 2008 23:38:51 +0000 Subject: 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 --- cpp/src/qpid/client/Connection.cpp | 2 +- cpp/src/qpid/client/Connector.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/client') 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; } -- cgit v1.2.1