summaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-05-06 22:29:48 +0000
committerMichael Snyder <msnyder@specifix.com>2010-05-06 22:29:48 +0000
commit522f079721f697a2bf9b8c215e254f27a8850c03 (patch)
tree1b1c73a5b14c1553c0df2995cbd0150775e99447 /gdb/parse.c
parentb91ef3af3eb228da33ae2b1bd32ba858db4e77f3 (diff)
downloadgdb-522f079721f697a2bf9b8c215e254f27a8850c03.tar.gz
2010-05-06 Michael Snyder <msnyder@vmware.com>
* osabi.c (_initialize_gdb_osabi): Delete unused variable. * memattr.c (mem_delete): Delete unused variable. (invalidate_target_mem_regions): Delete unused variable. * mem-break.c (default_memory_insert_breakpoint): Delete unused variable. * target.c (target_get_osdata): Delete unused variable. * parse.c (length_of_subexp): Delete unused variable. (prefixify_subexp): Delete unused variable. (exp_iterate): Delete unused variable. * reverse.c (delete_bookmark_command): Delete unused variable.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index 51e15505a25..5319555072c 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -776,7 +776,7 @@ prefixify_expression (struct expression *expr)
int
length_of_subexp (struct expression *expr, int endpos)
{
- int oplen, args, i;
+ int oplen, args;
operator_length (expr, endpos, &oplen, &args);
@@ -984,7 +984,6 @@ prefixify_subexp (struct expression *inexpr,
int args;
int i;
int *arglens;
- enum exp_opcode opcode;
int result = -1;
operator_length (inexpr, inend, &oplen, &args);
@@ -1472,7 +1471,6 @@ exp_iterate (struct expression *exp,
void *data)
{
int endpos;
- const union exp_element *const elts = exp->elts;
for (endpos = exp->nelts; endpos > 0; )
{