Commit 9572c208 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent ba020f42
...@@ -3867,6 +3867,7 @@ static void test_performance_keys(void) ...@@ -3867,6 +3867,7 @@ static void test_performance_keys(void)
ret = RegSetValueA(keys[i], "Global", REG_SZ, "dummy", 5); ret = RegSetValueA(keys[i], "Global", REG_SZ, "dummy", 5);
ok(ret == ERROR_INVALID_HANDLE, "got %u\n", ret); ok(ret == ERROR_INVALID_HANDLE, "got %u\n", ret);
key_count = 0x900ddeed;
ret = RegQueryInfoKeyA(keys[i], NULL, NULL, NULL, &key_count, NULL, ret = RegQueryInfoKeyA(keys[i], NULL, NULL, NULL, &key_count, NULL,
NULL, &value_count, NULL, NULL, NULL, NULL); NULL, &value_count, NULL, NULL, NULL, NULL);
todo_wine ok(!ret, "got %u\n", ret); todo_wine ok(!ret, "got %u\n", ret);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment