mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
[CPP][Analyzers] turn on warning 4189 (#21522)
* Turn on 4189 and fix code * changes from PR comments
This commit is contained in:
@@ -57,7 +57,7 @@ namespace updating
|
||||
const bool architecture_matched = filename_lower.find(required_architecture) != std::wstring::npos;
|
||||
const bool filename_matched = filename_lower.find(required_filename_pattern) != std::wstring::npos;
|
||||
const bool asset_matched = extension_matched && architecture_matched && filename_matched;
|
||||
if (extension_matched && architecture_matched && filename_matched)
|
||||
if (asset_matched)
|
||||
{
|
||||
return std::make_pair(Uri{ asset.GetNamedString(L"browser_download_url") }, std::move(filename_lower));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user