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)
|
||||
{
|
||||
BYTE *new;
|
||||
if (old_type != REG_MULTI_SZ)
|
||||
if (old_value && old_type != REG_MULTI_SZ)
|
||||
{
|
||||
msi_free( old_value );
|
||||
old_value = NULL;
|
||||
|
|
|
@ -846,7 +846,7 @@ static HRESULT RecordImpl_Invoke(
|
|||
UINT* puArgErr)
|
||||
{
|
||||
WCHAR *szString;
|
||||
DWORD dwLen;
|
||||
DWORD dwLen = 0;
|
||||
UINT ret;
|
||||
VARIANTARG varg0, varg1;
|
||||
HRESULT hr;
|
||||
|
|
Loading…
Reference in New Issue