mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-25 16:57:52 +00:00
Remove unnecessary call to set_tid_type
ctfread.c:read_typedef_type calls set_tid_type twice, but the second call is unnecessary. Approved-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -888,7 +888,7 @@ read_typedef_type (struct ctf_context *ccp, ctf_id_t tid,
|
||||
|
||||
this_type->set_target_is_stub (this_type->target_type () != nullptr);
|
||||
|
||||
return set_tid_type (objfile, tid, this_type);
|
||||
return this_type;
|
||||
}
|
||||
|
||||
/* Read TID of kind CTF_K_POINTER with base type BTID. */
|
||||
|
||||
Reference in New Issue
Block a user