diff --git a/src/vt/termination/dijkstra-scholten/comm.cc b/src/vt/termination/dijkstra-scholten/comm.cc index 3788348429..1b3bbc7e03 100644 --- a/src/vt/termination/dijkstra-scholten/comm.cc +++ b/src/vt/termination/dijkstra-scholten/comm.cc @@ -132,7 +132,7 @@ StateDS::getTerminator(EpochType const& epoch) { /*static*/ void StateDS::requestAckHan(AckMsg* msg) { auto const epoch = msg->getEpoch(); auto term = getTerminator(epoch); - term->needAck(msg->getNode(),msg->getCount()); + term->needAck(); } /*static*/ void StateDS::acknowledgeHan(AckMsg* msg) { diff --git a/src/vt/termination/dijkstra-scholten/ds.cc b/src/vt/termination/dijkstra-scholten/ds.cc index 6a07a4e3e2..075a92ac5d 100644 --- a/src/vt/termination/dijkstra-scholten/ds.cc +++ b/src/vt/termination/dijkstra-scholten/ds.cc @@ -213,10 +213,7 @@ void TermDS::msgProcessed(NodeType predecessor, CountType count) { } template -void TermDS::needAck( - [[maybe_unused]] NodeType const predecessor, - [[maybe_unused]] CountType const count -) { +void TermDS::needAck() { vtAssertInfo( 5 && (C == processedSum - (ackedArbitrary + ackedParent)), "DS-invariant", C, D, processedSum, ackedArbitrary, diff --git a/src/vt/termination/dijkstra-scholten/ds.h b/src/vt/termination/dijkstra-scholten/ds.h index cf403c5cc4..11f1f0d29e 100644 --- a/src/vt/termination/dijkstra-scholten/ds.h +++ b/src/vt/termination/dijkstra-scholten/ds.h @@ -91,7 +91,7 @@ struct TermDS : EpochDependency, EpochLabel { void gotAck(CountType count); void doneSending(); void msgProcessed(NodeType predecessor, CountType count); - void needAck(NodeType const predecessor, CountType const count); + void needAck(); void tryAck(); void terminated(); bool hasParent();