msi: Make sure nested is initialized.
This commit is contained in:
parent
c2d66da665
commit
71a78c4478
|
@ -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] != '\\')
|
||||
|
|
Loading…
Reference in New Issue