aboutsummaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 22:29:49 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 22:29:49 +0000
commit6b4398f7cdb82bedc0d0a71d95782862bd1a704f (patch)
treec4b650e38c8d5459ce1a9cbfb7ea75e96e922bf3 /gdb/parse.c
parentcf383746fa2c9023feaaf737b2c571e96a55aef5 (diff)
downloadgdb-6b4398f7cdb82bedc0d0a71d95782862bd1a704f.zip
gdb-6b4398f7cdb82bedc0d0a71d95782862bd1a704f.tar.gz
gdb-6b4398f7cdb82bedc0d0a71d95782862bd1a704f.tar.bz2
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 51e1550..5319555 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; )
{