]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fortran: Remove unused variable. [PR 96255]
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 11 Nov 2025 21:57:06 +0000 (13:57 -0800)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Tue, 11 Nov 2025 21:57:06 +0000 (13:57 -0800)
PR fortran/96255

gcc/fortran/ChangeLog:

* resolve.cc (gfc_resolve_forall): Delete outer_sym

gcc/fortran/resolve.cc

index aad211a30eca9aa6d107d2e35dc36da073f4f58b..b1d2ff220bf039c12aa43ede07682172c4288449 100644 (file)
@@ -12650,7 +12650,6 @@ gfc_resolve_forall (gfc_code *code, gfc_namespace *ns, int forall_save)
        {
          if (fa->shadow)
            {
-             gfc_symbol *outer_sym;
              gfc_symtree *shadow_st;
              const char *shadow_name_str;
              char *outer_name;