diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 77f4d19e74..7901a5f613 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -153,7 +153,6 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse, addr = unpack_pointer (type, valaddr); print_unpacked_pointer: elttype = check_typedef (TYPE_TARGET_TYPE (type)); - elttype = check_typedef (TYPE_TARGET_TYPE (type)); if (TYPE_CODE (elttype) == TYPE_CODE_FUNC) {