mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[Analyzers][CPP]Turn on warning 4456 (#22087)
This commit is contained in:
@@ -281,7 +281,7 @@ void ReportRegistry(const filesystem::path& tmpDir)
|
||||
else
|
||||
{
|
||||
DWORD data = 0;
|
||||
DWORD dataSize = sizeof(data);
|
||||
dataSize = sizeof(data);
|
||||
result = RegGetValueW(rootKey, subKey.c_str(), value.c_str(), flags, &type, &data, &dataSize);
|
||||
if (result == ERROR_SUCCESS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user