Zebediah Figura : widl: Remove an unused variable.
Alexandre Julliard
julliard at winehq.org
Wed May 29 15:50:37 CDT 2019
Module: wine
Branch: master
Commit: 55a0ec420f7ed92e7f53e391ab086cd35b815c04
URL: https://source.winehq.org/git/wine.git/?a=commit;h=55a0ec420f7ed92e7f53e391ab086cd35b815c04
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Wed May 29 00:24:07 2019 -0500
widl: Remove an unused variable.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
tools/widl/typegen.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index c710df17..2c70d15 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);
More information about the wine-cvs
mailing list