widl: write_array_element_type shouldn't return a value

Austin English austinenglish at gmail.com
Wed Dec 19 14:55:46 CST 2012


Found with TinyCC

-- 
-Austin
-------------- next part --------------
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index 280bd05..f2d0594 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -2343,7 +2343,8 @@ static void write_array_element_type(FILE *file, const type_t *type,
             return;
         }
     }
-    return write_member_type(file, type, cont_is_complex, NULL, elem, NULL, tfsoff);
+    write_member_type(file, type, cont_is_complex, NULL, elem, NULL, tfsoff);
+    return;
 }
 
 static void write_end(FILE *file, unsigned int *tfsoff)


More information about the wine-patches mailing list