Commit 93668319 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

msi/tests: Initialize pathkey in test_installprops.

It could be used uninitialized on early no access return.
parent 2daa8c9f
......@@ -5583,7 +5583,7 @@ static void test_installprops(void)
CHAR path[MAX_PATH], buf[MAX_PATH];
DWORD size, type;
LANGID langid;
HKEY hkey1, hkey2, pathkey;
HKEY hkey1, hkey2, pathkey = NULL;
int res;
UINT r;
REGSAM access = KEY_ALL_ACCESS;
......
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