c-common.c (sync_resolve_params): Remove write-only variable.

* c-common.c (sync_resolve_params): Remove write-only variable.

Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>

From-SVN: r159340
This commit is contained in:
Kazu Hirata 2010-05-12 19:51:37 +00:00 committed by Nathan Froyd
parent cbda7dc692
commit 01f0a9dccc
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2010-05-12 Kazu Hirata <kazu@codesourcery.com>
Nathan Froyd <froydnj@codesourcery.com>
* c-common.c (sync_resolve_params): Remove write-only variable.
2010-05-12 Anatoly Sokolov <aesok@post.ru>
* target.h (struct gcc_target): Add mode_dependent_address_p field.

View File

@ -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