msi: Fix use of uninitialized variables.
This commit is contained in:
parent
f6b22a7570
commit
e15121771c
|
@ -2884,7 +2884,7 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param)
|
||||||
if (type == REG_MULTI_SZ)
|
if (type == REG_MULTI_SZ)
|
||||||
{
|
{
|
||||||
BYTE *new;
|
BYTE *new;
|
||||||
if (old_type != REG_MULTI_SZ)
|
if (old_value && old_type != REG_MULTI_SZ)
|
||||||
{
|
{
|
||||||
msi_free( old_value );
|
msi_free( old_value );
|
||||||
old_value = NULL;
|
old_value = NULL;
|
||||||
|
|
|
@ -846,7 +846,7 @@ static HRESULT RecordImpl_Invoke(
|
||||||
UINT* puArgErr)
|
UINT* puArgErr)
|
||||||
{
|
{
|
||||||
WCHAR *szString;
|
WCHAR *szString;
|
||||||
DWORD dwLen;
|
DWORD dwLen = 0;
|
||||||
UINT ret;
|
UINT ret;
|
||||||
VARIANTARG varg0, varg1;
|
VARIANTARG varg0, varg1;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
Loading…
Reference in New Issue