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-subscr...@qpid.apache.org