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 | cdef89d01172a24cd4122ed71f781d4099225542 (patch) | |
tree | a0078291f7e7bb6e361203167b526d4a9a713b94 /gdb/c-valprint.c | |
parent | d80dbb52aaf81bbddac1bd4e15ea50aec5555a90 (diff) | |
download | binutils-gdb-cdef89d01172a24cd4122ed71f781d4099225542.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/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 848f7ac8ade..419b24770b6 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -213,13 +213,12 @@ c_val_print (struct type *type, char *valaddr, int embedded_offset, struct value *vt_val; struct symbol *wsym = (struct symbol *) NULL; struct type *wtype; - struct symtab *s; struct block *block = (struct block *) NULL; int is_this_fld; if (msymbol != NULL) wsym = lookup_symbol (DEPRECATED_SYMBOL_NAME (msymbol), block, - VAR_DOMAIN, &is_this_fld, &s); + VAR_DOMAIN, &is_this_fld, NULL); if (wsym) { |