summaryrefslogtreecommitdiff
path: root/gdb/c-valprint.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2001-09-05 23:07:08 +0000
committerMichael Snyder <msnyder@specifix.com>2001-09-05 23:07:08 +0000
commit2e7fd6655b44e6f252e2dbbef301bf816c1a981b (patch)
treea1ca0daa66895b5088c0d5f4267755114d668c5d /gdb/c-valprint.c
parentacb05d89a0bbe9d3a0dc7b75446cf09507355555 (diff)
downloadgdb-2e7fd6655b44e6f252e2dbbef301bf816c1a981b.tar.gz
2001-08-31 Jason Molenda (jmolenda@apple.com)
* c-valprint.c (c_val_print): Second call to check_typedef () is no longer necessary.
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r--gdb/c-valprint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index e1e8b8211b4..315d03479de 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -168,7 +168,6 @@ c_val_print (struct type *type, char *valaddr, int embedded_offset,
{
addr = unpack_pointer (type, valaddr + embedded_offset);
print_unpacked_pointer:
- elttype = check_typedef (TYPE_TARGET_TYPE (type));
if (TYPE_CODE (elttype) == TYPE_CODE_FUNC)
{