]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Remove duplicate comment
authorRonan Desplanques <desplanques@adacore.com>
Mon, 13 Feb 2023 10:56:55 +0000 (11:56 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 23 May 2023 07:50:58 +0000 (09:50 +0200)
gcc/ada/

* sem_ch7.adb: Remove duplicate comment.

gcc/ada/sem_ch7.adb

index 5021d0ee04f360e0d52186d3c6063f1f94a70491..2610a7bba4dda0ca9d47b63d266b1cefd24ea78b 100644 (file)
@@ -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));