]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
fortran: Fix indentation
authorFilip Kastl <fkastl@suse.cz>
Tue, 15 Jul 2025 06:39:00 +0000 (08:39 +0200)
committerFilip Kastl <fkastl@suse.cz>
Tue, 15 Jul 2025 06:39:00 +0000 (08:39 +0200)
Move a block of code two spaces to the left.  Commiting as obvious.

gcc/fortran/ChangeLog:

* resolve.cc (resolve_select_type): Fix indentation.

Signed-off-by: Filip Kastl <fkastl@suse.cz>
gcc/fortran/resolve.cc

index 93df5d014fa201f2f08fca6e54b2a9929e260cd1..c33bd17da2dc429ac925b7b621e59fb6d12f07e5 100644 (file)
@@ -11014,16 +11014,16 @@ resolve_select_type (gfc_code *code, gfc_namespace *old_ns)
         that does precisely this here (instead of using the
         'global' one).  */
 
-       /* First check the derived type import status.  */
-       if (gfc_current_ns->import_state != IMPORT_NOT_SET
-           && (c->ts.type == BT_DERIVED || c->ts.type == BT_CLASS))
-         {
-           st = gfc_find_symtree (gfc_current_ns->sym_root,
-                                  c->ts.u.derived->name);
-           if (!check_sym_import_status (c->ts.u.derived, st, NULL, old_code,
-                                         gfc_current_ns))
-             error++;
-         }
+      /* First check the derived type import status.  */
+      if (gfc_current_ns->import_state != IMPORT_NOT_SET
+         && (c->ts.type == BT_DERIVED || c->ts.type == BT_CLASS))
+       {
+         st = gfc_find_symtree (gfc_current_ns->sym_root,
+                                c->ts.u.derived->name);
+         if (!check_sym_import_status (c->ts.u.derived, st, NULL, old_code,
+                                       gfc_current_ns))
+           error++;
+       }
 
       const char * var_name = gfc_var_name_for_select_type_temp (orig_expr1);
       if (c->ts.type == BT_CLASS)