From: Michael Snyder Date: Wed, 5 Sep 2001 23:07:08 +0000 (+0000) Subject: 2001-08-31 Jason Molenda (jmolenda@apple.com) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0093d52fedba0dc655b45af6cee85e39868be6ce;p=binutils-gdb.git 2001-08-31 Jason Molenda (jmolenda@apple.com) * c-valprint.c (c_val_print): Second call to check_typedef () is no longer necessary. --- 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) {