summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/amqp0_10/AddressResolution.cpp')
-rw-r--r--cpp/src/qpid/client/amqp0_10/AddressResolution.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp b/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
index 2ce29a3ae4..a81499750a 100644
--- a/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
+++ b/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
@@ -617,7 +617,7 @@ void Queue::checkCreate(qpid::client::AsyncSession& session, CheckMode mode)
} else {
try {
sync(session).queueDeclare(arg::queue=name, arg::passive=true);
- } catch (const qpid::framing::NotFoundException& e) {
+ } catch (const qpid::framing::NotFoundException& /*e*/) {
throw InvalidAddress((boost::format("Queue %1% does not exist") % name).str());
} catch (const std::exception& e) {
throw InvalidAddress(e.what());
@@ -716,7 +716,7 @@ void Exchange::checkCreate(qpid::client::AsyncSession& session, CheckMode mode)
} else {
try {
sync(session).exchangeDeclare(arg::exchange=name, arg::passive=true);
- } catch (const qpid::framing::NotFoundException& e) {
+ } catch (const qpid::framing::NotFoundException& /*e*/) {
throw InvalidAddress((boost::format("Exchange %1% does not exist") % name).str());
} catch (const std::exception& e) {
throw InvalidAddress(e.what());