summaryrefslogtreecommitdiff
path: root/gdb/ada-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r--gdb/ada-exp.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index d47f6a785d8..722db2fc079 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)