Commit 71a78c44 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

msi: Make sure nested is initialized.

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