Complete previous change.
authorArnaud Charlet <charlet@gcc.gnu.org>
Fri, 16 Oct 2015 13:26:51 +0000 (15:26 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 16 Oct 2015 13:26:51 +0000 (15:26 +0200)
From-SVN: r228902

gcc/ada/a-contai.adb

index 2ed760cb3ba3e51124ed164e9ba6122396940a79..cf1fc9f089483e2b4bafa02241f110de17ac74ed 100644 (file)
@@ -34,7 +34,9 @@ package body Ada.Containers is
       ------------
 
       procedure Adjust (Control : in out Reference_Control_Type) is
+         pragma Warnings (Off);
          pragma Assert (T_Check); -- not called if check suppressed
+         pragma Warnings (On);
       begin
          if Control.T_Counts /= null then
             Lock (Control.T_Counts.all);