[Analyzers][CPP]Turn on warning 4701 (#22151)

This commit is contained in:
sosssego
2022-11-22 20:02:40 +00:00
committed by GitHub
parent e50cd85e9a
commit 2074d32cb1
3 changed files with 3 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ void ReportWindowsVersion(const filesystem::path& tmpDir)
{
auto versionReportPath = tmpDir;
versionReportPath = versionReportPath.append("windows-version.txt");
OSVERSIONINFOEXW osInfo;
OSVERSIONINFOEXW osInfo{};
try
{