msi/tests: Initialize pathkey in test_installprops.

It could be used uninitialized on early no access return.
This commit is contained in:
Jacek Caban 2023-11-17 13:30:11 +01:00 committed by Alexandre Julliard
parent 2daa8c9f95
commit 93668319dd

View file

@ -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;