[PATCH v2 3/5] widl: Remove an unused variable.
Zebediah Figura
z.figura12 at gmail.com
Wed May 29 00:24:07 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 c710df17914..2c70d15710d 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -2951,15 +2951,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