Skip to content

Commit

Permalink
#1910: Break out early
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander authored and stmcgovern committed Aug 16, 2022
1 parent c1a0a3d commit bec88b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vt/messaging/active.cc
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,10 @@ bool ActiveMessenger::recvDataMsg(
}

bool ActiveMessenger::tryProcessDataMsgRecv() {
if (pending_recvs_.size() == 0) {
return false;
}

bool erase = false;
auto iter = pending_recvs_.begin();

Expand Down

0 comments on commit bec88b4

Please sign in to comment.