Nikolay Sivov : widl: Remove arguments from writing calls that don't use them (Coverity).
Alexandre Julliard
julliard at winehq.org
Tue Sep 14 16:00:14 CDT 2021
Module: wine
Branch: master
Commit: 23cbb01c0ece5ce66a2d6e3f7a9aec070865d2d2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=23cbb01c0ece5ce66a2d6e3f7a9aec070865d2d2
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Sep 14 22:25:01 2021 +0300
widl: Remove arguments from writing calls that don't use them (Coverity).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tools/widl/header.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/widl/header.c b/tools/widl/header.c
index 1a69b298e7d..bee7306f413 100644
--- a/tools/widl/header.c
+++ b/tools/widl/header.c
@@ -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);
}
More information about the wine-cvs
mailing list