Fixes from review, post-rebase

This commit is contained in:
Tim Wojtulewicz 2022-05-26 18:39:01 -07:00
parent 9f05fe5bfa
commit 5ca0bb79c8
15 changed files with 59 additions and 30 deletions

View file

@ -520,7 +520,7 @@ static void analyze_scripts_for_ZAM(std::unique_ptr<ProfileFuncs>& pfs)
finalize_functions(funcs);
}
void analyze_scripts(bool no_usage_warnings)
void analyze_scripts(bool no_unused_warnings)
{
static bool did_init = false;
@ -531,7 +531,7 @@ void analyze_scripts(bool no_usage_warnings)
}
std::unique_ptr<UsageAnalyzer> ua;
if ( ! no_usage_warnings )
if ( ! no_unused_warnings )
ua = std::make_unique<UsageAnalyzer>(funcs);
auto& ofuncs = analysis_options.only_funcs;