qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r834899 - in /qpid/trunk/qpid/cpp/src: qpid/client/amqp0_10/AddressResolution.cpp tests/MessagingSessionTests.cpp
Date Wed, 11 Nov 2009 15:13:06 GMT
Author: gsim
Date: Wed Nov 11 15:13:06 2009
New Revision: 834899

URL: http://svn.apache.org/viewvc?rev=834899&view=rev
Log:
Fix compilation error on some platforms

Modified:
    qpid/trunk/qpid/cpp/src/qpid/client/amqp0_10/AddressResolution.cpp
    qpid/trunk/qpid/cpp/src/tests/MessagingSessionTests.cpp

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=834899&r1=834898&r2=834899&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 Wed Nov 11 15:13:06
2009
@@ -736,7 +736,7 @@
 
 bool Node::enabled(const Variant& policy, CheckMode mode)
 {
-    bool result;
+    bool result = false;
     switch (mode) {
       case FOR_RECEIVER:
         result = in(policy, RECEIVER_MODES);

Modified: qpid/trunk/qpid/cpp/src/tests/MessagingSessionTests.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/MessagingSessionTests.cpp?rev=834899&r1=834898&r2=834899&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/MessagingSessionTests.cpp (original)
+++ qpid/trunk/qpid/cpp/src/tests/MessagingSessionTests.cpp Wed Nov 11 15:13:06 2009
@@ -611,6 +611,7 @@
           case NEVER:
             return "{delete:never}";
         }
+        return "";
     }
 
     void testAll()



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


Mime
View raw message