Module: wine Branch: master Commit: 5e0030b4cb4c06e926effa5cdb68f8f2fa295fb7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5e0030b4cb4c06e926effa5cdb... Author: Rob Shearman <robertshearman(a)gmail.com> Date: Tue Mar 23 13:33:55 2010 +0000 widl: Remove the current_func variable. It's only set, never read from. --- tools/widl/typegen.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 771cd2a..2433b8b 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -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(