diff options
author | David Carlton <carlton@bactrian.org> | 2003-06-02 18:08:16 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-06-02 18:08:16 +0000 |
commit | c5c6b35fb4fd9346678583a1a4666304950d6a97 (patch) | |
tree | 54f5799147818dc5c91bd69c92066a7edee768ff /gdb/objc-lang.c | |
parent | bd805f8f02b262d59d94901950210c0bf7913785 (diff) | |
download | gdb-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/objc-lang.c')
-rw-r--r-- | gdb/objc-lang.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c index 47ef9cd09ae..25d40ab9289 100644 --- a/gdb/objc-lang.c +++ b/gdb/objc-lang.c @@ -1421,7 +1421,6 @@ char *find_imps (struct symtab *symtab, struct block *block, if (tmp == NULL) { - struct symtab *sym_symtab = NULL; struct symbol *sym = NULL; struct minimal_symbol *msym = NULL; @@ -1431,7 +1430,7 @@ char *find_imps (struct symtab *symtab, struct block *block, if (tmp == NULL) return NULL; - sym = lookup_symbol (selector, block, VAR_DOMAIN, 0, &sym_symtab); + sym = lookup_symbol (selector, block, VAR_DOMAIN, 0, NULL); if (sym != NULL) { if (syms) |