summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-13 20:08:37 +0000
committerAlan Conway <aconway@apache.org>2007-08-13 20:08:37 +0000
commitb9a3aaab3504ec3cc832f1ee4d0c2266372116f5 (patch)
treece551c7caa4d5b5dcd64197cb9ceddc3ffbcc31f /cpp/src/qpid/cluster/Cluster.cpp
parentdae146867b5794cc86a7b3d8c162dbabd7ab9d22 (diff)
downloadqpid-python-b9a3aaab3504ec3cc832f1ee4d0c2266372116f5.tar.gz
Fix assertions that cause make -DNDEBUG to fail.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@565495 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index 52d8691f33..e5af237bd2 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -115,13 +115,12 @@ Cluster::MemberList Cluster::getMembers() const {
void Cluster::deliver(
cpg_handle_t /*handle*/,
- cpg_name* group,
+ cpg_name* /*group*/,
uint32_t nodeid,
uint32_t pid,
void* msg,
int msg_len)
{
- assert(name == *group);
Id from(nodeid, pid);
Buffer buf(static_cast<char*>(msg), msg_len);
AMQFrame frame;
@@ -164,12 +163,11 @@ void Cluster::handleClusterFrame(Id from, AMQFrame& frame) {
void Cluster::configChange(
cpg_handle_t /*handle*/,
- cpg_name *group,
+ cpg_name */*group*/,
cpg_address */*current*/, int /*nCurrent*/,
cpg_address *left, int nLeft,
cpg_address *joined, int nJoined)
{
- assert(name == *group);
bool newMembers=false;
MemberList updated;
{