Commit e520605f authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

dbghelp: When trying to enumerate locals & parameters with SymEnumSymbols, don't…

dbghelp: When trying to enumerate locals & parameters with SymEnumSymbols, don't return a global or public symbol when the nearest symbol of the current context isn't a function.
parent 9f49c6a0
......@@ -1037,9 +1037,8 @@ static BOOL symt_enum_locals(struct process* pcs, const char* mask,
&((struct symt_function*)sym)->vchildren);
regfree(&preg);
return ret;
}
return send_symbol(se, &pair, NULL, &sym->symt);
return FALSE;
}
/******************************************************************
......
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