summaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-06-02 18:08:16 +0000
committerDavid Carlton <carlton@bactrian.org>2003-06-02 18:08:16 +0000
commitc5c6b35fb4fd9346678583a1a4666304950d6a97 (patch)
tree54f5799147818dc5c91bd69c92066a7edee768ff /gdb/ada-lang.c
parentbd805f8f02b262d59d94901950210c0bf7913785 (diff)
downloadgdb-c5c6b35fb4fd9346678583a1a4666304950d6a97.tar.gz
2003-06-02 David Carlton <carlton@math.stanford.edu>
* objc-lang.c (find_imps): Delete unneeded variable 'sym_symtab'. * c-valprint.c (c_val_print): Delete unneeded variable 's'. * p-valprint.c (pascal_val_print): Ditto. * ada-lang.c (standard_lookup): Delete unneded variable 'symtab'.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 12bda8049cf..c403af2c02d 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -3181,8 +3181,7 @@ static struct symbol *
standard_lookup (const char *name, domain_enum domain)
{
struct symbol *sym;
- struct symtab *symtab;
- sym = lookup_symbol (name, (struct block *) NULL, domain, 0, &symtab);
+ sym = lookup_symbol (name, (struct block *) NULL, domain, 0, NULL);
return sym;
}