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'.
This commit is contained in:
David Carlton
2003-06-02 18:08:16 +00:00
parent d80dbb52aa
commit cdef89d011
5 changed files with 11 additions and 8 deletions

View File

@@ -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)
{