]> git.ipfire.org Git - thirdparty/gcc.git/commit
fortran: Remove redundant argument in get_var_descr
authorMikael Morin <mikael@gcc.gnu.org>
Mon, 17 Jul 2023 12:14:03 +0000 (14:14 +0200)
committerMikael Morin <mikael@gcc.gnu.org>
Mon, 17 Jul 2023 12:14:03 +0000 (14:14 +0200)
commit7b02a617948995a8e3ecd001ad3b44d1a1fc075a
tree82b394ad1f05447f087da153874b84d4ab1de4b4
parent268fda4b427cc8f24a15ce63031709aadbf3eeb8
fortran: Remove redundant argument in get_var_descr

get_var_descr get passed as argument both expr and expr->ts.
Remove the type argument which can be retrieved from the other
argument.

gcc/fortran/ChangeLog:

* trans.cc (get_var_descr): Remove argument ts.  Use var->ts
instead.
(gfc_add_finalizer_call): Update caller.
gcc/fortran/trans.cc