Commit 623f1429 authored by Eric Kohl's avatar Eric Kohl Committed by Alexandre Julliard

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

parent c7174f9f
......@@ -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);
}
......
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