From fdadfcc50ee15652a824cffe18c4fff5069b9961 Mon Sep 17 00:00:00 2001 From: Ronan Desplanques Date: Mon, 13 Feb 2023 11:56:55 +0100 Subject: [PATCH] ada: Remove duplicate comment gcc/ada/ * sem_ch7.adb: Remove duplicate comment. --- gcc/ada/sem_ch7.adb | 4 ---- 1 file changed, 4 deletions(-) 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)); -- 2.47.2