aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2010-05-12 19:51:37 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2010-05-12 19:51:37 +0000
commit01f0a9dcccaf952ac7b4fe9ce45fef92bc3ea362 (patch)
tree8e1967e2cbae0e607e7530e6fbcf1c8683cdb5f2 /gcc/c-common.c
parentcbda7dc6923547363e10787e6a58dfdd5cae5954 (diff)
downloadgcc-01f0a9dcccaf952ac7b4fe9ce45fef92bc3ea362.zip
gcc-01f0a9dcccaf952ac7b4fe9ce45fef92bc3ea362.tar.gz
gcc-01f0a9dcccaf952ac7b4fe9ce45fef92bc3ea362.tar.bz2
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
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c3
1 files changed, 0 insertions, 3 deletions
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