ada-typeprint.c::ada_print_type: Remove redundant call to ada_check_typedef
This commit removes a call to ada_check_typedef which has already been done a few lines earlier in the same function, so the second one is superfluous. gdb/ChangeLog: * ada-typeprint.c (ada_print_type): Remove superfluous second call to ada_check_typedef.
This commit is contained in:
parent
1a0ea39913
commit
8747316ecf
2 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2020-10-23 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* ada-typeprint.c (ada_print_type): Remove superfluous second call
|
||||
to ada_check_typedef.
|
||||
|
||||
2020-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* f-exp.y (f_parse): Rename to...
|
||||
|
|
|
@ -967,9 +967,6 @@ ada_print_type (struct type *type0, const char *varstring,
|
|||
return;
|
||||
}
|
||||
|
||||
if (show > 0)
|
||||
type = ada_check_typedef (type);
|
||||
|
||||
if (is_var_decl && type->code () != TYPE_CODE_FUNC)
|
||||
fprintf_filtered (stream, "%.*s: ",
|
||||
ada_name_prefix_len (varstring), varstring);
|
||||
|
|
Loading…
Add table
Reference in a new issue