diff options
Diffstat (limited to 'gdb/p-valprint.c')
-rw-r--r-- | gdb/p-valprint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c index ddd508a..4e460cc 100644 --- a/gdb/p-valprint.c +++ b/gdb/p-valprint.c @@ -222,13 +222,12 @@ pascal_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) { |