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.

This commit is contained in:
Eric Pouech 2010-04-07 22:23:52 +02:00 committed by Alexandre Julliard
parent 9f49c6a05f
commit e520605fa9
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}
/******************************************************************