aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-valprint.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2011-02-28 22:45:16 +0000
committerMichael Snyder <msnyder@vmware.com>2011-02-28 22:45:16 +0000
commit91e8df85d85a3ca61fd42e158dc7f2b1c8ab841a (patch)
treeae46b9c0e396b1995ecdb8b3ff9df9dadd5b1056 /gdb/p-valprint.c
parent899500d6a4fb46ad1a0f8d076e2a5c2ce34f9d1a (diff)
downloadgdb-91e8df85d85a3ca61fd42e158dc7f2b1c8ab841a.zip
gdb-91e8df85d85a3ca61fd42e158dc7f2b1c8ab841a.tar.gz
gdb-91e8df85d85a3ca61fd42e158dc7f2b1c8ab841a.tar.bz2
2011-02-28 Michael Snyder <msnyder@vmware.com>
* p-valprint.c (pascal_val_print): Discard unused value.
Diffstat (limited to 'gdb/p-valprint.c')
-rw-r--r--gdb/p-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c
index ee76542..618fc17 100644
--- a/gdb/p-valprint.c
+++ b/gdb/p-valprint.c
@@ -149,7 +149,7 @@ pascal_val_print (struct type *type, const gdb_byte *valaddr,
print_address_demangle (gdbarch, addr, stream, demangle);
break;
}
- elttype = check_typedef (TYPE_TARGET_TYPE (type));
+ check_typedef (TYPE_TARGET_TYPE (type));
addr = unpack_pointer (type, valaddr + embedded_offset);
print_unpacked_pointer: