[Ada] Remove Initializes contracts from Ada.Strings.Bounded
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 28 Jul 2021 13:16:09 +0000 (15:16 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 23 Sep 2021 13:06:14 +0000 (13:06 +0000)
gcc/ada/

* libgnat/a-strbou.ads (Generic_Bounded_Length): Remove explicit
Initializes contract.

gcc/ada/libgnat/a-strbou.ads

index cc24f70..31c1cc9 100644 (file)
@@ -45,8 +45,6 @@ package Ada.Strings.Bounded with SPARK_Mode is
       --  Maximum length of a Bounded_String
 
    package Generic_Bounded_Length with SPARK_Mode,
-     Initializes       => (Null_Bounded_String => Max,
-                           Max_Length          => Max),
      Initial_Condition => Length (Null_Bounded_String) = 0,
      Abstract_State    => null
    is