Commit a1997507 authored by Alexandre Julliard's avatar Alexandre Julliard

widl: Clear /robust flags when no descriptor is present.

For compatibility with midl.
parent af058da8
......@@ -1668,12 +1668,13 @@ static unsigned int write_conf_or_var_desc(FILE *file, const type_t *cont_type,
const type_t *iface = NULL;
const char *name;
robust_flags |= RobustEarly;
if (!expr)
{
print_file(file, 2, "NdrFcLong(0xffffffff),\t/* -1 */\n");
robust_flags = 0;
goto done;
}
robust_flags |= RobustEarly;
if (expr->is_const)
{
......
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