From 8c5630cb0862b06f1ee546a303a8550e424c8bbc Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 6 May 2010 00:08:44 +0000 Subject: 2010-05-05 Michael Snyder * 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. --- gdb/ada-exp.y | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/ada-exp.y') diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index d47f6a7..722db2f 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -1091,7 +1091,6 @@ find_primitive_type (char *name) { /* Check to see if we have a regular definition of this type that just didn't happen to have been read yet. */ - int ntypes; struct symbol *sym; char *expanded_name = (char *) alloca (strlen (name) + sizeof ("standard__")); @@ -1366,7 +1365,6 @@ write_var_or_type (struct block *block, struct stoken name0) } else if (nsyms == 0) { - int i; struct minimal_symbol *msym = ada_lookup_simple_minsym (encoded_name); if (msym != NULL) -- cgit v1.1