From: Ronan Desplanques Date: Mon, 13 Feb 2023 10:56:55 +0000 (+0100) Subject: ada: Remove duplicate comment X-Git-Tag: basepoints/gcc-15~9053 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdadfcc50ee15652a824cffe18c4fff5069b9961;p=thirdparty%2Fgcc.git ada: Remove duplicate comment gcc/ada/ * sem_ch7.adb: Remove duplicate comment. --- diff --git a/gcc/ada/sem_ch7.adb b/gcc/ada/sem_ch7.adb index 5021d0ee04f3..2610a7bba4dd 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));