qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shus...@apache.org
Subject svn commit: r890476 - in /qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10: AddressResolution.cpp AddressResolution.h
Date Mon, 14 Dec 2009 20:58:37 GMT
Author: shuston
Date: Mon Dec 14 20:58:12 2009
New Revision: 890476

URL: http://svn.apache.org/viewvc?rev=890476&view=rev
Log:
Fix compile warnings; resolve QPID-2272

Modified:
    qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
    qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.h

Modified: qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp?rev=890476&r1=890475&r2=890476&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp Mon Dec 14 20:58:12
2009
@@ -617,7 +617,7 @@
     } 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 @@
     } 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());

Modified: qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.h?rev=890476&r1=890475&r2=890476&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.h Mon Dec 14 20:58:12 2009
@@ -31,7 +31,7 @@
 }
 
 namespace messaging {
-struct Address;
+class Address;
 struct Filter;
 }
 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message