Commit 5e0030b4 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

widl: Remove the current_func variable.

It's only set, never read from.
parent 8a8fff64
......@@ -46,7 +46,6 @@
/* value to add on to round size up to a multiple of alignment */
#define ROUNDING(size, alignment) (((alignment) - 1) - (((size) + ((alignment) - 1)) & ((alignment) - 1)))
static const var_t *current_func;
static const type_t *current_structure;
static const type_t *current_iface;
......@@ -2916,7 +2915,6 @@ static unsigned int process_tfs_stmts(FILE *file, const statement_list_t *stmts,
file);
}
current_func = func;
if (type_get_function_args(func->type))
LIST_FOR_EACH_ENTRY( var, type_get_function_args(func->type), const var_t, entry )
update_tfsoff(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment