advapi32/tests: Fix an uninitialized variable check in test_performance_keys().

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-08-16 18:10:50 +02:00 committed by Alexandre Julliard
parent ba020f42ba
commit 9572c20812
1 changed files with 1 additions and 0 deletions

View File

@ -3867,6 +3867,7 @@ static void test_performance_keys(void)
ret = RegSetValueA(keys[i], "Global", REG_SZ, "dummy", 5);
ok(ret == ERROR_INVALID_HANDLE, "got %u\n", ret);
key_count = 0x900ddeed;
ret = RegQueryInfoKeyA(keys[i], NULL, NULL, NULL, &key_count, NULL,
NULL, &value_count, NULL, NULL, NULL, NULL);
todo_wine ok(!ret, "got %u\n", ret);