aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-exp.y
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 00:08:44 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 00:08:44 +0000
commit8c5630cb0862b06f1ee546a303a8550e424c8bbc (patch)
tree7e07fc394f59a97ea6951fa0db06602b36dddf75 /gdb/jv-exp.y
parentd11bdf9018bbb8e1a150fb9254b511cf9cfc4a26 (diff)
downloadgdb-8c5630cb0862b06f1ee546a303a8550e424c8bbc.zip
gdb-8c5630cb0862b06f1ee546a303a8550e424c8bbc.tar.gz
gdb-8c5630cb0862b06f1ee546a303a8550e424c8bbc.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* c-exp.y (parse_string_or_char): Delete unused variable. (c_lex): Delete unused variable. * cp-name-parser.y (cpname_lex): Delete unused variable. * ada-exp.y (find_primitive_type): Delete unused variable. (write_var_or_type): Delete unused variable. * jv-exp.y (java_parse): Delete unused variable. (push_expression_name): Delete unused variable. * p-exp.y (pascal_lex): Delete unused variable.
Diffstat (limited to 'gdb/jv-exp.y')
-rw-r--r--gdb/jv-exp.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y
index a904c32..8109e0c 100644
--- a/gdb/jv-exp.y
+++ b/gdb/jv-exp.y
@@ -547,7 +547,6 @@ CastExpression:
write_exp_elt_opcode (UNOP_CAST); }
| '(' Expression ')' UnaryExpressionNotPlusMinus
{
- int exp_size = expout_ptr;
int last_exp_size = length_of_subexp(expout, expout_ptr);
struct type *type;
int i;
@@ -1358,7 +1357,6 @@ push_expression_name (struct stoken name)
{
char *tmp;
struct type *typ;
- char *ptr;
int i;
for (i = 0; i < name.length; i++)