msi: Initialize a couple of variables.
Found by Valgrind.
This commit is contained in:
parent
f370ab7e9b
commit
353035fadd
|
@ -4285,8 +4285,7 @@ static UINT ACTION_PublishFeatures(MSIPACKAGE *package)
|
||||||
{
|
{
|
||||||
MSIFEATURE *feature;
|
MSIFEATURE *feature;
|
||||||
UINT rc;
|
UINT rc;
|
||||||
HKEY hkey;
|
HKEY hkey = NULL, userdata = NULL;
|
||||||
HKEY userdata = NULL;
|
|
||||||
|
|
||||||
if (!msi_check_publish(package))
|
if (!msi_check_publish(package))
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
|
@ -4853,7 +4852,7 @@ static UINT ITERATE_PublishComponent(MSIRECORD *rec, LPVOID param)
|
||||||
MSIPACKAGE *package = param;
|
MSIPACKAGE *package = param;
|
||||||
LPCWSTR compgroupid, component, feature, qualifier, text;
|
LPCWSTR compgroupid, component, feature, qualifier, text;
|
||||||
LPWSTR advertise = NULL, output = NULL;
|
LPWSTR advertise = NULL, output = NULL;
|
||||||
HKEY hkey;
|
HKEY hkey = NULL;
|
||||||
UINT rc;
|
UINT rc;
|
||||||
MSICOMPONENT *comp;
|
MSICOMPONENT *comp;
|
||||||
MSIFEATURE *feat;
|
MSIFEATURE *feat;
|
||||||
|
@ -5933,7 +5932,7 @@ static UINT ITERATE_WriteEnvironmentString( MSIRECORD *rec, LPVOID param )
|
||||||
LPWSTR data = NULL, newval = NULL, deformatted = NULL, ptr;
|
LPWSTR data = NULL, newval = NULL, deformatted = NULL, ptr;
|
||||||
DWORD flags, type, size;
|
DWORD flags, type, size;
|
||||||
UINT res;
|
UINT res;
|
||||||
HKEY env;
|
HKEY env = NULL;
|
||||||
MSICOMPONENT *comp;
|
MSICOMPONENT *comp;
|
||||||
MSIRECORD *uirow;
|
MSIRECORD *uirow;
|
||||||
int action = 0;
|
int action = 0;
|
||||||
|
|
Loading…
Reference in New Issue