Skip to content

Commit

Permalink
Explicitly ignore return value
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Oct 19, 2023
1 parent 0b0681b commit 8df9098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sst/core/statapi/statgroup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ bool
StatisticGroup::containsStatistic(const StatisticBase* stat) const
{
if ( isDefault ) return true;
std::find(stats.begin(), stats.end(), stat);
std::ignore = std::find(stats.begin(), stats.end(), stat);
return false;
}

Expand Down

0 comments on commit 8df9098

Please sign in to comment.