[PATCH 3/5] widl: Remove an unused variable.

Zebediah Figura z.figura12 at gmail.com
Tue May 28 23:45:19 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 tools/widl/typegen.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index 7fd8e4755eb..607b4e26b74 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -2948,15 +2948,11 @@ static unsigned int write_array_tfs(FILE *file, const attr_list_t *attrs, type_t
     unsigned int size;
     unsigned int start_offset;
     unsigned char fc;
-    int pointer_type = get_attrv(attrs, ATTR_POINTERTYPE);
     unsigned int baseoff
         = !type_array_is_decl_as_ptr(type) && current_structure
         ? type_memsize(current_structure)
         : 0;
 
-    if (!pointer_type)
-        pointer_type = FC_RP;
-
     if (!is_string_type(attrs, type_array_get_element(type)))
         write_embedded_types(file, attrs, type_array_get_element(type), name, FALSE, typestring_offset);
 
-- 
2.21.0




More information about the wine-devel mailing list