From 09cf91da39a733bf90728a1dda77cd59c9089d45 Mon Sep 17 00:00:00 2001 From: froydnj Date: Wed, 12 May 2010 19:51:37 +0000 Subject: [PATCH] * c-common.c (sync_resolve_params): Remove write-only variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159340 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/c-common.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 43d9e9e..bb1e3a5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-05-12 Kazu Hirata + Nathan Froyd + + * c-common.c (sync_resolve_params): Remove write-only variable. + 2010-05-12 Anatoly Sokolov * target.h (struct gcc_target): Add mode_dependent_address_p field. diff --git a/gcc/c-common.c b/gcc/c-common.c index 7dce962..b213671 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -8780,7 +8780,6 @@ sync_resolve_params (tree orig_function, tree function, VEC(tree, gc) *params) { tree arg_types = TYPE_ARG_TYPES (TREE_TYPE (function)); tree ptype; - int number; unsigned int parmnum; /* We've declared the implementation functions to use "volatile void *" @@ -8788,7 +8787,6 @@ sync_resolve_params (tree orig_function, tree function, VEC(tree, gc) *params) call to check_function_arguments what ever type the user used. */ arg_types = TREE_CHAIN (arg_types); ptype = TREE_TYPE (TREE_TYPE (VEC_index (tree, params, 0))); - number = 2; /* For the rest of the values, we need to cast these to FTYPE, so that we don't get warnings for passing pointer types, etc. */ @@ -8813,7 +8811,6 @@ sync_resolve_params (tree orig_function, tree function, VEC(tree, gc) *params) VEC_replace (tree, params, parmnum, val); arg_types = TREE_CHAIN (arg_types); - number++; } /* The definition of these primitives is variadic, with the remaining -- 2.7.4