Commit e1512177 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Fix use of uninitialized variables.

parent f6b22a75
......@@ -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;
......
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