widl: Do not generate code that initializes a binding handle.

This commit is contained in:
Eric Kohl 2006-03-18 14:33:48 +01:00 committed by Alexandre Julliard
parent c7174f9fff
commit 623f142945

View file

@ -79,7 +79,8 @@ static void write_parameters_init(const func_t *func)
while (NEXT_LINK(var)) var = NEXT_LINK(var);
while (var)
{
print_server("%s = 0;\n", var->name);
if (var->type->type != RPC_FC_BIND_PRIMITIVE)
print_server("%s = 0;\n", var->name);
var = PREV_LINK(var);
}