widl: Remove arguments from writing calls that don't use them (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-09-14 22:25:01 +03:00 committed by Alexandre Julliard
parent 2de886dd7b
commit 23cbb01c0e
1 changed files with 2 additions and 2 deletions

View File

@ -192,11 +192,11 @@ static void write_namespace_end(FILE *header, struct namespace *namespace)
{
if(is_global_namespace(namespace)) {
if(use_abi_namespace)
write_line(header, -1, "}", namespace->name);
write_line(header, -1, "}");
return;
}
write_line(header, -1, "}", namespace->name);
write_line(header, -1, "}");
write_namespace_end(header, namespace->parent);
}