Resolve warnings/errors with extra warnings (#171)

[ROCm/rocprofiler-systems commit: 4e3527f0ed]
This commit is contained in:
Jonathan R. Madsen
2022-09-28 14:28:32 -05:00
committed by GitHub
parent 6c8570f610
commit 07e3cf256a
25 changed files with 132 additions and 135 deletions
@@ -708,10 +708,10 @@ module_function::operator()(address_space_t* _addr_space, procedure_t* _entr_tra
auto* itr = loop_blocks.at(i);
auto _is_constrained = [this](bool _v, const std::string& _label,
const std::string& _name) {
const std::string& _mname) {
if(_v)
{
messages.emplace_back(3, "Skipping", "function-loop", _label, _name);
messages.emplace_back(3, "Skipping", "function-loop", _label, _mname);
return true;
}
return false;