summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
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;
{