--- tools/widl/typegen.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 2b0e414..7dfa0b2 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -3046,7 +3046,7 @@ static void write_parameter_conf_or_var_exprs(FILE *file, int indent, const char } break; } - else if (type->type == RPC_FC_IP) + else if (type->type == RPC_FC_IP || type->type == 0) { expr_t *iid;
2009/1/10 Michael Karcher wine@mkarcher.dialup.fu-berlin.de:
tools/widl/typegen.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 2b0e414..7dfa0b2 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -3046,7 +3046,7 @@ static void write_parameter_conf_or_var_exprs(FILE *file, int indent, const char } break; }
else if (type->type == RPC_FC_IP)
else if (type->type == RPC_FC_IP || type->type == 0)
Please use is_void to make it clear what is being checked here.