From 3b28ad158ebd51f417fd757b32ee4780e669319f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20Poulhi=C3=A8s?= Date: Fri, 10 Oct 2025 11:08:34 +0200 Subject: [PATCH] ada: Remove outdated comment The comment has been documenting a 'Present(S)' that has been long gone (>17y). gcc/ada/ChangeLog: * sem_aux.adb (Enclosing_Dynamic_Scope): Remove comment. --- gcc/ada/sem_aux.adb | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/ada/sem_aux.adb b/gcc/ada/sem_aux.adb index 58a4beb221d..107e27e2e43 100644 --- a/gcc/ada/sem_aux.adb +++ b/gcc/ada/sem_aux.adb @@ -184,9 +184,6 @@ package body Sem_Aux is -- Normal case, search enclosing scopes - -- Note: the test for Present (S) should not be required, it defends - -- against an ill-formed tree. - S := Scope (Ent); loop -- If we somehow got an empty value for Scope, the tree must be -- 2.47.3