Fortran: Silence -Wmaybe-uninitialized warning

gcc/fortran/ChangeLog:

	* resolve.c (resolve_fl_procedure): Initialize
	allocatable_or_pointer.
This commit is contained in:
Bernhard Reutner-Fischer 2021-10-31 17:17:56 +01:00
parent 0ef944629a
commit a16010a3ee

View file

@ -13179,7 +13179,7 @@ static bool
resolve_fl_procedure (gfc_symbol *sym, int mp_flag)
{
gfc_formal_arglist *arg;
bool allocatable_or_pointer;
bool allocatable_or_pointer = false;
if (sym->attr.function
&& !resolve_fl_var_and_proc (sym, mp_flag))