widl: Initialise the temporary variable to 0 for parameters with more than one level of indirection.
This commit is contained in:
parent
d82bb4ade9
commit
62eb9f4b0c
|
@ -167,7 +167,10 @@ static void assign_out_args(const func_t *func)
|
|||
}
|
||||
else
|
||||
{
|
||||
fprintf(server, " = &_W%u;\n", i++);
|
||||
fprintf(server, " = &_W%u;\n", i);
|
||||
if (var->ptr_level > 1)
|
||||
print_server("_W%u = 0;\n", i);
|
||||
i++;
|
||||
}
|
||||
|
||||
sep = 1;
|
||||
|
|
Loading…
Reference in New Issue