Message ID | 20230523080737.1872700-1-poulhies@adacore.com |
---|---|
State | New |
Headers | show |
Series | [COMMITTED] ada: Remove duplicate comment | expand |
diff --git a/gcc/ada/sem_ch7.adb b/gcc/ada/sem_ch7.adb index 5021d0ee04f..2610a7bba4d 100644 --- a/gcc/ada/sem_ch7.adb +++ b/gcc/ada/sem_ch7.adb @@ -3197,10 +3197,6 @@ package body Sem_Ch7 is -- is simply that the initializing expression is missing. if not Has_Private_Declaration (Etype (Id)) then - - -- We assume that the user did not intend a deferred constant - -- declaration, and the expression is just missing. - Error_Msg_N ("constant declaration requires initialization expression", Parent (Id));
From: Ronan Desplanques <desplanques@adacore.com> gcc/ada/ * sem_ch7.adb: Remove duplicate comment. Tested on x86_64-pc-linux-gnu, committed on master. --- gcc/ada/sem_ch7.adb | 4 ---- 1 file changed, 4 deletions(-)