aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/sem.adb')
-rw-r--r--gcc/ada/sem.adb4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/sem.adb b/gcc/ada/sem.adb
index bac147c..071d38f 100644
--- a/gcc/ada/sem.adb
+++ b/gcc/ada/sem.adb
@@ -1978,9 +1978,7 @@ package body Sem is
-- See if it belongs to current unit, and if so, include its
-- with_clauses. Do not process main unit prematurely.
- if Pnode = CU
- and then CU /= Cunit (Main_Unit)
- then
+ if Pnode = CU and then CU /= Cunit (Main_Unit) then
Walk_Immediate (Cunit (S), Include_Limited);
end if;
end;