mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
widl: Fix crash dealing with anonymous unions.
This commit is contained in:
parent
512c36cae6
commit
704f2868ed
@ -574,7 +574,7 @@ static size_t write_conf_or_var_desc(FILE *file, const func_t *func, const type_
|
||||
{
|
||||
unsigned int align = 0;
|
||||
/* FIXME: take alignment into account */
|
||||
if (!strcmp(var->name, subexpr->u.sval))
|
||||
if (var->name && !strcmp(var->name, subexpr->u.sval))
|
||||
{
|
||||
correlation_variable = var->type;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user