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

Nikolay Sivov nsivov at codeweavers.com
Tue Sep 14 14:25:01 CDT 2021


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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);
 }
 
-- 
2.33.0




More information about the wine-devel mailing list