aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/a-cihase.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/a-cihase.adb')
-rw-r--r--gcc/ada/a-cihase.adb8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/a-cihase.adb b/gcc/ada/a-cihase.adb
index 8de25a8..235f6e3 100644
--- a/gcc/ada/a-cihase.adb
+++ b/gcc/ada/a-cihase.adb
@@ -703,6 +703,8 @@ package body Ada.Containers.Indefinite_Hashed_Sets is
New_Item : Element_Type)
is
Position : Cursor;
+ pragma Unreferenced (Position);
+
Inserted : Boolean;
begin
@@ -1138,6 +1140,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is
Element_Keys.Find (Container.HT, New_Item);
X : Element_Access;
+ pragma Warnings (Off, X);
begin
if Node = null then
@@ -1471,9 +1474,11 @@ package body Ada.Containers.Indefinite_Hashed_Sets is
------------
function To_Set (New_Item : Element_Type) return Set is
- HT : Hash_Table_Type;
+ HT : Hash_Table_Type;
+
Node : Node_Access;
Inserted : Boolean;
+ pragma Unreferenced (Node, Inserted);
begin
Insert (HT, New_Item, Node, Inserted);
@@ -1523,6 +1528,7 @@ package body Ada.Containers.Indefinite_Hashed_Sets is
Tgt_Node : Node_Access;
Success : Boolean;
+ pragma Unreferenced (Tgt_Node, Success);
-- Start of processing for Process