msi: Make sure nested is initialized.

This commit is contained in:
Juan Lang 2007-09-17 08:03:08 -07:00 committed by Alexandre Julliard
parent c2d66da665
commit 71a78c4478
1 changed files with 1 additions and 1 deletions

View File

@ -315,13 +315,13 @@ static BOOL find_next_outermost_key(LPCWSTR source, DWORD len_remaining,
INT total_count = 0;
int i;
*nested = FALSE;
*mark = scanW(source,'[',len_remaining);
if (!*mark)
return FALSE;
count = 1;
total_count = 1;
*nested = FALSE;
for (i = 1; (*mark - source) + i < len_remaining && count > 0; i++)
{
if ((*mark)[i] == '[' && (*mark)[i-1] != '\\')