aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Desplanques <desplanques@adacore.com>2023-02-13 11:56:55 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-23 09:50:58 +0200
commitfdadfcc50ee15652a824cffe18c4fff5069b9961 (patch)
tree781f47b95977dd45bf7cb22e7077d05c682ae643
parentc565a974d0dd07738d5b88a08ecba903c54480cd (diff)
downloadgcc-fdadfcc50ee15652a824cffe18c4fff5069b9961.zip
gcc-fdadfcc50ee15652a824cffe18c4fff5069b9961.tar.gz
gcc-fdadfcc50ee15652a824cffe18c4fff5069b9961.tar.bz2
ada: Remove duplicate comment
gcc/ada/ * sem_ch7.adb: Remove duplicate comment.
-rw-r--r--gcc/ada/sem_ch7.adb4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/ada/sem_ch7.adb b/gcc/ada/sem_ch7.adb
index 5021d0e..2610a7b 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));