mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:40:59 +00:00
dbghelp: Ensure that local variables and parameter actually have a container.
This commit is contained in:
parent
8c7cc491ab
commit
99a5488a18
|
@ -476,7 +476,7 @@ struct symt_data* symt_add_func_local(struct module* module,
|
|||
locsym->hash_elt.name = pool_strdup(&module->pool, name);
|
||||
locsym->hash_elt.next = NULL;
|
||||
locsym->kind = dt;
|
||||
locsym->container = &block->symt;
|
||||
locsym->container = block ? &block->symt : &func->symt;
|
||||
locsym->type = type;
|
||||
locsym->u.var = *loc;
|
||||
if (block)
|
||||
|
|
Loading…
Reference in a new issue